File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class _MyAppState extends State<MyApp> {
2424 crossAxisAlignment: CrossAxisAlignment .center,
2525 children: < Widget > [
2626 Text ('Secure Mode: ${_secureMode .toString ()}\n ' ),
27- RaisedButton (
27+ ElevatedButton (
2828 onPressed: () async {
2929 final secureModeToggle = ! _secureMode;
3030
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ repository: https://github.com/adaptant-labs/flutter_windowmanager
66issue_tracker : https://github.com/adaptant-labs/flutter_windowmanager/issues
77
88environment :
9- sdk : " >=2.1 .0 <3.0.0"
9+ sdk : " >=2.12 .0 <3.0.0"
1010 # Flutter versions prior to 1.10 did not support
1111 # the flutter.plugin.platforms map.
1212 flutter : " >=1.10.0"
Original file line number Diff line number Diff line change @@ -3,12 +3,14 @@ import 'package:flutter_test/flutter_test.dart';
33import 'package:flutter_windowmanager/flutter_windowmanager.dart' ;
44
55void main () {
6+ TestWidgetsFlutterBinding .ensureInitialized ();
67 const MethodChannel channel = MethodChannel ('flutter_windowmanager' );
7- final List <MethodCall > log = List <MethodCall >() ;
8+ final List <MethodCall > log = < MethodCall > [] ;
89
910 setUp (() {
1011 channel.setMockMethodCallHandler ((MethodCall methodCall) async {
1112 log.add (methodCall);
13+ return true ;
1214 });
1315 });
1416
You can’t perform that action at this time.
0 commit comments