Skip to content

Commit

Permalink
Upgrade rest of widget_toolkits themes
Browse files Browse the repository at this point in the history
  • Loading branch information
DDavidPrime committed Apr 1, 2024
1 parent 51b288c commit 2e8230d
Show file tree
Hide file tree
Showing 15 changed files with 1,152 additions and 1,349 deletions.
4 changes: 2 additions & 2 deletions packages/widget_toolkit_biometrics/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ class MyApp extends StatelessWidget {
// You have to provide the [WidgetToolkitTheme]s in order for the
// [BiometricsSwitch] to work
extensions: [
WidgetToolkitTheme.light,
WidgetToolkitTheme.light(),
],
),
darkTheme: ThemeData.dark().copyWith(
colorScheme: ColorScheme.fromSwatch(),
extensions: [
// You have to provide the [WidgetToolkitTheme]s in order for the
// [BiometricsSwitch] to work
WidgetToolkitTheme.dark,
WidgetToolkitTheme.dark(),
],
),
home: const MyHomePage(title: 'Widget Toolkit Biometrics Demo'),
Expand Down
4 changes: 2 additions & 2 deletions packages/widget_toolkit_biometrics/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -624,14 +624,14 @@ packages:
path: "../../widget_toolkit"
relative: true
source: path
version: "0.0.2-dev.2"
version: "0.0.2-dev.3"
widget_toolkit_biometrics:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.0.2-dev.2"
version: "0.0.2-dev.3"
win32:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/widget_toolkit_biometrics/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ packages:
path: "../widget_toolkit"
relative: true
source: path
version: "0.0.2-dev.2"
version: "0.0.2-dev.3"
xml:
dependency: transitive
description:
Expand Down
12 changes: 6 additions & 6 deletions packages/widget_toolkit_otp/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ class MyApp extends StatelessWidget {
return MaterialApp(
theme: ThemeData.light()
.copyWith(colorScheme: ColorScheme.fromSwatch(), extensions: [
WidgetToolkitTheme.light,
SmsCodeTheme.light,
TextFieldDialogTheme.light,
WidgetToolkitTheme.light(),
SmsCodeTheme.light(),
TextFieldDialogTheme.light(),
]),
darkTheme: ThemeData.dark()
.copyWith(colorScheme: ColorScheme.fromSwatch(), extensions: [
WidgetToolkitTheme.dark,
SmsCodeTheme.dark,
TextFieldDialogTheme.dark,
WidgetToolkitTheme.dark(),
SmsCodeTheme.dark(),
TextFieldDialogTheme.dark(),
]),
home: const MyHomePage(),
);
Expand Down
Loading

0 comments on commit 2e8230d

Please sign in to comment.