pre_release fixes
|
|
@ -7,6 +7,9 @@ linter:
|
|||
# Make constructors the first thing in every class
|
||||
sort_constructors_first: true
|
||||
|
||||
# pubspec.yaml dependencies sort
|
||||
sort_pub_dependencies: false
|
||||
|
||||
# The new tabs vs. spaces. Choose wisely
|
||||
prefer_single_quotes: true
|
||||
prefer_double_quotes: false
|
||||
|
|
|
|||
|
|
@ -12,8 +12,9 @@
|
|||
|
||||
<application
|
||||
android:name="io.flutter.app.FlutterApplication"
|
||||
android:label="satu"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
android:label="Satu"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher_rounded">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:launchMode="singleTop"
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
<item android:drawable="@android:color/white" />
|
||||
|
||||
<!-- You can insert your own image assets here -->
|
||||
<!-- <item>
|
||||
<item >
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image" />
|
||||
</item> -->
|
||||
android:gravity="clip_horizontal"
|
||||
android:src="@mipmap/splash" />
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 721 B After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 23 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
|
@ -29,7 +29,7 @@ class AuthResponse {
|
|||
authResponseBean.authAt = cast<String>(map['auth_at']);
|
||||
authResponseBean.shard = cast<int>(map['shard']);
|
||||
authResponseBean.message = cast<String>(map['message']);
|
||||
authResponseBean.operation = map['operation'] as bool;
|
||||
authResponseBean.operation = map['operation'] as bool? ?? false;
|
||||
authResponseBean.username = cast<String>(map['username']);
|
||||
return authResponseBean;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class UserState {
|
|||
);
|
||||
}
|
||||
|
||||
static UserState? fromJson(dynamic? json) {
|
||||
static UserState? fromJson(dynamic json) {
|
||||
return json != null
|
||||
? UserState(
|
||||
auth: AuthResponse.fromMap(json['auth']),
|
||||
|
|
@ -44,7 +44,7 @@ class UserState {
|
|||
|
||||
dynamic toJson() {
|
||||
return {
|
||||
"auth": auth != null ? auth!.toJson() : null,
|
||||
'auth': auth != null ? auth!.toJson() : null,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class _LoginViewState extends State<LoginView> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
emailController = TextEditingController(text: 'test11@gmail.com');
|
||||
emailController = TextEditingController();
|
||||
passwordController = TextEditingController();
|
||||
}
|
||||
|
||||
|
|
|
|||
17
pubspec.lock
|
|
@ -7,7 +7,7 @@ packages:
|
|||
name: _fe_analyzer_shared
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "22.0.0"
|
||||
version: "30.0.0"
|
||||
ai_barcode:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
@ -35,7 +35,7 @@ packages:
|
|||
name: analyzer
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.7.2"
|
||||
version: "2.7.0"
|
||||
archive:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -442,14 +442,14 @@ packages:
|
|||
name: json_annotation
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.1.0"
|
||||
version: "4.3.0"
|
||||
json_serializable:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
name: json_serializable
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "4.1.4"
|
||||
version: "6.0.1"
|
||||
lint:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
|
|
@ -805,6 +805,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.3"
|
||||
source_helper:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: source_helper
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
source_span:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -916,7 +923,7 @@ packages:
|
|||
name: url_launcher
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "6.0.12"
|
||||
version: "6.0.13"
|
||||
url_launcher_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ dependencies:
|
|||
intl: ^0.17.0
|
||||
device_info: ^2.0.3
|
||||
auto_size_text: ^3.0.0
|
||||
url_launcher: ^6.0.12
|
||||
url_launcher: ^6.0.13
|
||||
qr_flutter: ^4.0.0
|
||||
mask_text_input_formatter: ^2.0.0
|
||||
flutter_screenutil: ^5.0.0+2
|
||||
|
|
@ -63,7 +63,7 @@ dev_dependencies:
|
|||
flutter_test:
|
||||
sdk: flutter
|
||||
lint: ^1.7.2
|
||||
json_serializable: ^4.1.2
|
||||
json_serializable: ^6.0.1
|
||||
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
|
|
|
|||
|
|
@ -0,0 +1,37 @@
|
|||
ai_barcode: ^3.0.1
|
||||
auto_size_text: ^3.0.0
|
||||
charset_converter: ^2.0.0
|
||||
cupertino_icons: ^1.0.4
|
||||
device_info: ^2.0.3
|
||||
equatable: ^2.0.3
|
||||
esc_pos_bluetooth: ^0.4.1
|
||||
esc_pos_utils: ^1.1.0
|
||||
flutter:
|
||||
sdk: flutter
|
||||
flutter_bluetooth_basic: ^0.1.7
|
||||
flutter_redux: ^0.8.2
|
||||
flutter_screenutil: ^5.0.0+2
|
||||
flutter_svg: ^0.23.0+1
|
||||
get_it: ^7.2.0
|
||||
grouped_list: ^4.1.0
|
||||
http: ^0.13.4
|
||||
implicitly_animated_reorderable_list: ^0.4.2
|
||||
intl: ^0.17.0
|
||||
location_permissions: ^4.0.1
|
||||
logger: ^1.1.0
|
||||
mask_text_input_formatter: ^2.0.0
|
||||
material_design_icons_flutter: ^5.0.6295
|
||||
material_floating_search_bar: ^0.3.6
|
||||
path_provider: ^2.0.7
|
||||
permission_handler: ^8.3.0
|
||||
provider: ^6.0.1
|
||||
qr_flutter: ^4.0.0
|
||||
redux: ^5.0.0
|
||||
redux_persist: ^0.9.0
|
||||
redux_persist_flutter: ^0.9.0
|
||||
redux_thunk: ^0.4.0
|
||||
responsive_builder: ^0.4.1
|
||||
shared_preferences: ^2.0.8
|
||||
sqflite: ^2.0.0+4
|
||||
url_launcher: ^6.0.13
|
||||
uuid: ^3.0.5
|
||||