Skip to content

Commit a437969

Browse files
committed
update for flutter 2, removes actionsForegroundColor
1 parent b6613ce commit a437969

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

lib/src/widgets/navigation_bar.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ class PNavigationBar extends PNavigationBarBase
204204
backgroundColor: iosBackgroundColor,
205205
previousPageTitle: iosPreviousPageTitle,
206206
padding: iosPadding,
207-
actionsForegroundColor: getIosIconColor(context),
208207
)
209208
: CupertinoNavigationBar(
210209
leading: leading,
@@ -213,7 +212,6 @@ class PNavigationBar extends PNavigationBarBase
213212
backgroundColor: iosBackgroundColor,
214213
previousPageTitle: iosPreviousPageTitle,
215214
padding: iosPadding,
216-
actionsForegroundColor: getIosIconColor(context),
217215
));
218216
};
219217

@@ -314,7 +312,6 @@ class PSliverNavigationBar extends PNavigationBarBase {
314312
trailing: getPrimaryIOSAction(),
315313
backgroundColor: iosBackgroundColor,
316314
largeTitle: iosLargeTitle,
317-
actionsForegroundColor: getIosIconColor(context),
318315
previousPageTitle: iosPreviousPageTitle,
319316
)
320317
: CupertinoSliverNavigationBar(
@@ -325,7 +322,6 @@ class PSliverNavigationBar extends PNavigationBarBase {
325322
trailing: getPrimaryIOSAction(),
326323
backgroundColor: iosBackgroundColor,
327324
largeTitle: iosLargeTitle,
328-
actionsForegroundColor: getIosIconColor(context),
329325
previousPageTitle: iosPreviousPageTitle,
330326
);
331327
};

pubspec.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,49 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0-nullsafety.3"
10+
version: "2.5.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.1.0-nullsafety.3"
17+
version: "2.1.0"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.1.0-nullsafety.5"
24+
version: "1.1.0"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0-nullsafety.3"
31+
version: "1.2.0"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.1.0-nullsafety.3"
38+
version: "1.1.0"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.15.0-nullsafety.5"
45+
version: "1.15.0"
4646
fake_async:
4747
dependency: transitive
4848
description:
4949
name: fake_async
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.2.0-nullsafety.3"
52+
version: "1.2.0"
5353
flutter:
5454
dependency: "direct main"
5555
description: flutter
@@ -66,21 +66,21 @@ packages:
6666
name: matcher
6767
url: "https://pub.dartlang.org"
6868
source: hosted
69-
version: "0.12.10-nullsafety.3"
69+
version: "0.12.10"
7070
meta:
7171
dependency: transitive
7272
description:
7373
name: meta
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "1.3.0-nullsafety.6"
76+
version: "1.3.0"
7777
path:
7878
dependency: transitive
7979
description:
8080
name: path
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "1.8.0-nullsafety.3"
83+
version: "1.8.0"
8484
sky_engine:
8585
dependency: transitive
8686
description: flutter
@@ -92,55 +92,55 @@ packages:
9292
name: source_span
9393
url: "https://pub.dartlang.org"
9494
source: hosted
95-
version: "1.8.0-nullsafety.4"
95+
version: "1.8.0"
9696
stack_trace:
9797
dependency: transitive
9898
description:
9999
name: stack_trace
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "1.10.0-nullsafety.6"
102+
version: "1.10.0"
103103
stream_channel:
104104
dependency: transitive
105105
description:
106106
name: stream_channel
107107
url: "https://pub.dartlang.org"
108108
source: hosted
109-
version: "2.1.0-nullsafety.3"
109+
version: "2.1.0"
110110
string_scanner:
111111
dependency: transitive
112112
description:
113113
name: string_scanner
114114
url: "https://pub.dartlang.org"
115115
source: hosted
116-
version: "1.1.0-nullsafety.3"
116+
version: "1.1.0"
117117
term_glyph:
118118
dependency: transitive
119119
description:
120120
name: term_glyph
121121
url: "https://pub.dartlang.org"
122122
source: hosted
123-
version: "1.2.0-nullsafety.3"
123+
version: "1.2.0"
124124
test_api:
125125
dependency: transitive
126126
description:
127127
name: test_api
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "0.2.19-nullsafety.6"
130+
version: "0.2.19"
131131
typed_data:
132132
dependency: transitive
133133
description:
134134
name: typed_data
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "1.3.0-nullsafety.5"
137+
version: "1.3.0"
138138
vector_math:
139139
dependency: transitive
140140
description:
141141
name: vector_math
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "2.1.0-nullsafety.5"
144+
version: "2.1.0"
145145
sdks:
146146
dart: ">=2.12.0-0.0 <3.0.0"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: platty
22
description: Platform Conforming Widgets for Flutter!
3-
version: 0.0.9+2
3+
version: 0.1.0
44
author: Andrew Grosner <andrew@fuzzproductions.com>
55
homepage: https://github.com/fuzz-productions/platty
66

0 commit comments

Comments
 (0)