File tree Expand file tree Collapse file tree 7 files changed +16
-9
lines changed
experimental/linting_tool Expand file tree Collapse file tree 7 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 3
3
// found in the LICENSE file.
4
4
5
5
import 'package:flutter/material.dart' ;
6
+ import 'package:flutter/services.dart' show SystemUiOverlayStyle;
6
7
import 'package:linting_tool/layout/adaptive.dart' ;
7
8
import 'package:linting_tool/model/profile.dart' ;
8
9
import 'package:linting_tool/widgets/lint_expansion_tile.dart' ;
@@ -51,7 +52,7 @@ class DefaultRulesPage extends StatelessWidget {
51
52
leadingWidth: 160.0 ,
52
53
toolbarHeight: 38.0 ,
53
54
backgroundColor: Colors .white,
54
- brightness : Brightness .light ,
55
+ systemOverlayStyle : SystemUiOverlayStyle .dark ,
55
56
),
56
57
body: ListView .separated (
57
58
padding: EdgeInsetsDirectional .only (
Original file line number Diff line number Diff line change 4
4
5
5
import 'package:context_menus/context_menus.dart' ;
6
6
import 'package:flutter/material.dart' ;
7
+ import 'package:flutter/services.dart' show SystemUiOverlayStyle;
7
8
import 'package:linting_tool/layout/adaptive.dart' ;
8
9
import 'package:linting_tool/model/editing_controller.dart' ;
9
10
import 'package:linting_tool/model/profiles_store.dart' ;
@@ -57,7 +58,7 @@ class RulesPage extends StatelessWidget {
57
58
leadingWidth: 160.0 ,
58
59
toolbarHeight: 38.0 ,
59
60
backgroundColor: Colors .white,
60
- brightness : Brightness .light ,
61
+ systemOverlayStyle : SystemUiOverlayStyle .dark ,
61
62
),
62
63
63
64
/// ContextMenuOverlay is required to show
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import 'dart:math' as math;
6
6
7
7
import 'package:flutter/material.dart' ;
8
8
import 'package:flutter/rendering.dart' ;
9
+ import 'package:flutter/services.dart' show SystemUiOverlayStyle;
9
10
import 'package:linting_tool/layout/adaptive.dart' ;
10
11
import 'package:linting_tool/pages/default_lints_page.dart' ;
11
12
import 'package:linting_tool/pages/home_page.dart' ;
@@ -103,7 +104,7 @@ class _NavViewState extends State<_NavView> {
103
104
),
104
105
toolbarHeight: 38.0 ,
105
106
backgroundColor: Colors .white,
106
- brightness : Brightness .light ,
107
+ systemOverlayStyle : SystemUiOverlayStyle .dark ,
107
108
),
108
109
body: Row (
109
110
children: [
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ EXTERNAL SOURCES:
31
31
SPEC CHECKSUMS:
32
32
file_selector_macos: ff6dc948d4ddd34e8602a1f60b7d0b4cc6051a47
33
33
FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
34
- path_provider_macos: a0a3fd666cb7cd0448e936fb4abad4052961002b
34
+ path_provider_macos: 160cab0d5461f0c0e02995469a98f24bdb9a3f1f
35
35
url_launcher_macos: 45af3d61de06997666568a7149c1be98b41c95d4
36
36
window_size: 339dafa0b27a95a62a843042038fa6c3c48de195
37
37
38
38
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
39
39
40
- COCOAPODS: 1.10.2
40
+ COCOAPODS: 1.11.0
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ packages:
678
678
name: url_launcher
679
679
url: "https://pub.dartlang.org"
680
680
source: hosted
681
- version: "6.0.16 "
681
+ version: "6.0.17 "
682
682
url_launcher_android:
683
683
dependency: transitive
684
684
description:
@@ -720,7 +720,7 @@ packages:
720
720
name: url_launcher_web
721
721
url: "https://pub.dartlang.org"
722
722
source: hosted
723
- version: "2.0.4 "
723
+ version: "2.0.5 "
724
724
url_launcher_windows:
725
725
dependency: transitive
726
726
description:
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class MyAdaptingApp extends StatelessWidget {
36
36
child: Material (child: child),
37
37
);
38
38
},
39
- // ignore: use_key_in_widget_constructors
39
+ // ignore: use_key_in_widget_constructors, prefer_const_constructors
40
40
home: PlatformAdaptingHomePage (),
41
41
);
42
42
}
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ function ci_projects () {
12
12
flutter pub get
13
13
14
14
# Run the analyzer to find any static analysis issues.
15
- dart analyze
15
+ if [ " $channel " == ' stable' ]; then
16
+ dart analyze --fatal-infos
17
+ else
18
+ dart analyze
19
+ fi
16
20
17
21
# Run the formatter on all the dart files to make sure everything's linted.
18
22
dart format --output none --set-exit-if-changed .
You can’t perform that action at this time.
0 commit comments