Commit 688a340 1 parent cff3b25 commit 688a340 Copy full SHA for 688a340
File tree 4 files changed +33
-19
lines changed
4 files changed +33
-19
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,6 @@ migration:
18
18
- platform: android
19
19
create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
20
20
base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
21
- - platform: ios
22
- create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
23
- base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
24
- - platform: linux
25
- create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
26
- base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
27
- - platform: macos
28
- create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
29
- base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
30
- - platform: web
31
- create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
32
- base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
33
- - platform: windows
34
- create_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
35
- base_revision: 78666c8dc57e9f7548ca9f8dd0740fbf0c658dc9
36
21
37
22
# User provided section
38
23
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ if (flutterVersionName == null) {
24
24
25
25
android {
26
26
namespace " com.example.amalyot_uchun"
27
- compileSdkVersion 33
27
+ compileSdkVersion flutter . compileSdkVersion
28
28
ndkVersion flutter. ndkVersion
29
29
30
30
compileOptions {
@@ -45,8 +45,8 @@ android {
45
45
applicationId " com.example.amalyot_uchun"
46
46
// You can update the following values to match your application needs.
47
47
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
48
- minSdkVersion 21
49
- targetSdkVersion 33
48
+ minSdkVersion flutter . minSdkVersion
49
+ targetSdkVersion flutter . targetSdkVersion
50
50
versionCode flutterVersionCode. toInteger()
51
51
versionName flutterVersionName
52
52
}
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs =-Xmx4G
2
2
android.useAndroidX =true
3
3
android.enableJetifier =true
4
- dev.steenbakker.mobile_scanner.useUnbundled =true
Original file line number Diff line number Diff line change
1
+ // This is a basic Flutter widget test.
2
+ //
3
+ // To perform an interaction with a widget in your test, use the WidgetTester
4
+ // utility in the flutter_test package. For example, you can send tap and scroll
5
+ // gestures. You can also use WidgetTester to find child widgets in the widget
6
+ // tree, read text, and verify that the values of widget properties are correct.
7
+
8
+ import 'package:flutter/material.dart' ;
9
+ import 'package:flutter_test/flutter_test.dart' ;
10
+
11
+ import 'package:amalyot_uchun/main.dart' ;
12
+
13
+ void main () {
14
+ testWidgets ('Counter increments smoke test' , (WidgetTester tester) async {
15
+ // Build our app and trigger a frame.
16
+ await tester.pumpWidget (const MyApp ());
17
+
18
+ // Verify that our counter starts at 0.
19
+ expect (find.text ('0' ), findsOneWidget);
20
+ expect (find.text ('1' ), findsNothing);
21
+
22
+ // Tap the '+' icon and trigger a frame.
23
+ await tester.tap (find.byIcon (Icons .add));
24
+ await tester.pump ();
25
+
26
+ // Verify that our counter has incremented.
27
+ expect (find.text ('0' ), findsNothing);
28
+ expect (find.text ('1' ), findsOneWidget);
29
+ });
30
+ }
You can’t perform that action at this time.
0 commit comments