Skip to content

Commit 1ac9ab0

Browse files
committed
Updated packages
1 parent 3323eea commit 1ac9ab0

File tree

4 files changed

+105
-114
lines changed

4 files changed

+105
-114
lines changed

.metadata

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
8-
channel: stable
7+
revision: "5dcb86f68f239346676ceb1ed1ea385bd215fba1"
8+
channel: "stable"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
17-
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
18-
- platform: macos
19-
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
20-
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
16+
create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
17+
base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
18+
- platform: web
19+
create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
20+
base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1
2121

2222
# User provided section
2323

lib/src/app.dart

+6-7
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ class MyApp extends ConsumerWidget {
2323
),
2424
scaffoldBackgroundColor: Colors.grey[200],
2525
dividerColor: Colors.grey[400],
26-
// https://github.com/firebase/flutterfire/blob/master/packages/firebase_ui_auth/doc/theming.md
2726
elevatedButtonTheme: ElevatedButtonThemeData(
28-
style: ButtonStyle(
29-
backgroundColor: MaterialStateProperty.all<Color>(primaryColor),
30-
foregroundColor: MaterialStateProperty.all<Color>(Colors.white),
27+
style: ElevatedButton.styleFrom(
28+
backgroundColor: primaryColor,
29+
foregroundColor: Colors.white,
3130
),
3231
),
3332
outlinedButtonTheme: OutlinedButtonThemeData(
34-
style: ButtonStyle(
35-
backgroundColor: MaterialStateProperty.all<Color>(primaryColor),
36-
foregroundColor: MaterialStateProperty.all<Color>(Colors.white),
33+
style: OutlinedButton.styleFrom(
34+
backgroundColor: primaryColor,
35+
foregroundColor: Colors.white,
3736
),
3837
),
3938
floatingActionButtonTheme: const FloatingActionButtonThemeData(

0 commit comments

Comments
 (0)