Skip to content

Commit 86d5232

Browse files
committed
新增: 全局加灰色色调的示例
1 parent 126ff26 commit 86d5232

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ PODS:
1717

1818
DEPENDENCIES:
1919
- ai_barcode (from `.symlinks/plugins/ai_barcode/ios`)
20-
- Flutter (from `.symlinks/flutter/ios-release`)
20+
- Flutter (from `.symlinks/flutter/ios`)
2121
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
2222
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
2323
- url_launcher_macos (from `.symlinks/plugins/url_launcher_macos/ios`)
@@ -32,7 +32,7 @@ EXTERNAL SOURCES:
3232
ai_barcode:
3333
:path: ".symlinks/plugins/ai_barcode/ios"
3434
Flutter:
35-
:path: ".symlinks/flutter/ios-release"
35+
:path: ".symlinks/flutter/ios"
3636
fluttertoast:
3737
:path: ".symlinks/plugins/fluttertoast/ios"
3838
url_launcher:

lib/main.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ import 'sample/wheel/list_wheel_scroll_view_page.dart';
5151
final RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();
5252

5353
void main() {
54+
//全局加灰色色调
55+
// runApp(ColorFiltered(
56+
// colorFilter: ColorFilter.mode(Colors.red, BlendMode.color),
57+
// key: GlobalKey(),
58+
// child: Test(),
59+
// ));
5460
runApp(
5561
Test(),
5662
);

0 commit comments

Comments
 (0)