Skip to content

Commit

Permalink
新增: 全局加灰色色调的示例
Browse files Browse the repository at this point in the history
pdliuw committed Apr 5, 2020
1 parent 126ff26 commit 86d5232
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ PODS:

DEPENDENCIES:
- ai_barcode (from `.symlinks/plugins/ai_barcode/ios`)
- Flutter (from `.symlinks/flutter/ios-release`)
- Flutter (from `.symlinks/flutter/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
- url_launcher_macos (from `.symlinks/plugins/url_launcher_macos/ios`)
@@ -32,7 +32,7 @@ EXTERNAL SOURCES:
ai_barcode:
:path: ".symlinks/plugins/ai_barcode/ios"
Flutter:
:path: ".symlinks/flutter/ios-release"
:path: ".symlinks/flutter/ios"
fluttertoast:
:path: ".symlinks/plugins/fluttertoast/ios"
url_launcher:
6 changes: 6 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -51,6 +51,12 @@ import 'sample/wheel/list_wheel_scroll_view_page.dart';
final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();

void main() {
//全局加灰色色调
// runApp(ColorFiltered(
// colorFilter: ColorFilter.mode(Colors.red, BlendMode.color),
// key: GlobalKey(),
// child: Test(),
// ));
runApp(
Test(),
);

0 comments on commit 86d5232

Please sign in to comment.