Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SUBOdhar committed Jul 16, 2024
1 parent 7e1e2a5 commit d6e4020
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 51 deletions.
Binary file modified inventory.db
Binary file not shown.
17 changes: 13 additions & 4 deletions svp/lib/pages/add_product.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _AddState extends State<Add> {
_quantityController.dispose();
_batchNoController.dispose();
_priceController.dispose();

_itemfocus.dispose();
_pricefocus.dispose();
_quantityfocus.dispose();
Expand Down Expand Up @@ -205,11 +205,20 @@ class _AddState extends State<Add> {
barrierDismissible: false,
builder: (BuildContext context) {
return AlertDialog(
title: const Text('Success'),
content: Text(message),
title: const Text(
'Success',
style: TextStyle(color: Colors.black),
),
content: Text(
message,
style: TextStyle(color: Colors.black),
),
actions: <Widget>[
TextButton(
child: const Text('OK'),
child: const Text(
'OK',
style: TextStyle(color: Colors.black),
),
onPressed: () {
Navigator.of(context).pop();
},
Expand Down
15 changes: 12 additions & 3 deletions svp/lib/pages/dealer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,25 @@ class _DealerState extends State<Dealer> {
children: [
Icon(iconData),
const SizedBox(width: 10),
Text(title),
Text(
title,
style: TextStyle(color: Colors.black),
),
],
),
content: Text(message),
content: Text(
message,
style: TextStyle(color: Colors.black),
),
actions: [
TextButton(
onPressed: () {
Navigator.of(context).pop();
},
child: const Text('OK'),
child: const Text(
'OK',
style: TextStyle(color: Colors.black),
),
),
],
);
Expand Down
40 changes: 0 additions & 40 deletions svp/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -150,38 +150,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_background_service:
dependency: "direct main"
description:
name: flutter_background_service
sha256: "30d1786c7fccba10ba1ca49297bc14343456f24e3dfd4cafc06f35de68d92619"
url: "https://pub.dev"
source: hosted
version: "5.0.6"
flutter_background_service_android:
dependency: transitive
description:
name: flutter_background_service_android
sha256: b28215e18ee743eb78105a5869a802ca7a13b01ed21a0401a4b1c4900b63676e
url: "https://pub.dev"
source: hosted
version: "6.2.3"
flutter_background_service_ios:
dependency: transitive
description:
name: flutter_background_service_ios
sha256: "9365d6b8d71ef967e32320417ea9e2444c82b526930cd6b88adb2c459e7dfc9d"
url: "https://pub.dev"
source: hosted
version: "5.0.1"
flutter_background_service_platform_interface:
dependency: transitive
description:
name: flutter_background_service_platform_interface
sha256: da16560237e055c0ef65bc93597b71d4442698acee983951474f8882c1928ea7
url: "https://pub.dev"
source: hosted
version: "5.1.0"
flutter_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -621,14 +589,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "5.5.1"
workmanager:
dependency: "direct main"
description:
name: workmanager
sha256: ed13530cccd28c5c9959ad42d657cd0666274ca74c56dea0ca183ddd527d3a00
url: "https://pub.dev"
source: hosted
version: "0.5.2"
xdg_directories:
dependency: transitive
description:
Expand Down
4 changes: 1 addition & 3 deletions svp/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ dependencies:
google_fonts: ^6.2.1
material_symbols_icons: ^4.2744.0
url_launcher: ^6.2.6
flutter_background_service: ^5.0.5
flutter_local_notifications: ^17.1.2
workmanager: ^0.5.0
firebase_core: ^3.1.1
firebase_messaging: ^15.0.2
font_awesome_flutter: ^10.7.0

dev_dependencies:
flutter_test:
sdk: flutter
Expand Down
2 changes: 1 addition & 1 deletion url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/SUBOdhar/app_all/releases/tag/v0.0.017
https://github.com/SUBOdhar/app_all/releases/tag/v0.0.017

0 comments on commit d6e4020

Please sign in to comment.