Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Mounir Bouaiche
2023-06-11 22:58:01 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
46600c0ea7ba993089b56dd1a27b54e1cfb0a08c
46600c0e
1 parent
e786c430
Update widget_test
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
example/test/widget_test.dart
example/test/widget_test.dart
View file @
46600c0
...
...
@@ -43,7 +43,7 @@ void main() {
data:
currentData
,
child:
ScreenUtilInit
(
designSize:
designSize
,
builder:
(
context
,
child
)
=>
MaterialApp
(
child:
MaterialApp
(
home:
Material
(
child:
TextButton
(
key:
_key
,
...
...
@@ -68,6 +68,9 @@ void main() {
// Tests with initial screen size
testSize
(
initialSize
);
// Wait for FutureBuilder to be resolved
await
tester
.
pumpAndSettle
();
// Click On button to simulate changing screen size
await
tap
();
// Tests with bigger screen size
...
...
Please
register
or
login
to post a comment