Skip to content

Commit

Permalink
refactor: reformat styling for color themes in example/main
Browse files Browse the repository at this point in the history
  • Loading branch information
srieteja committed May 21, 2024
1 parent 046ffff commit bf07434
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/at_onboarding_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,17 @@ class _MyAppState extends State<MyApp> {
theme: ThemeData().copyWith(
brightness: Brightness.light,
primaryColor: const Color(0xFFf4533d),
scaffoldBackgroundColor: Colors.white, colorScheme: ThemeData.light().colorScheme.copyWith(
primary: const Color(0xFFf4533d), surface: Colors.white
).copyWith(),
scaffoldBackgroundColor: Colors.white,
colorScheme: ThemeData.light().colorScheme.copyWith(
primary: const Color(0xFFf4533d), surface: Colors.white),
),
darkTheme: ThemeData().copyWith(
brightness: Brightness.dark,
primaryColor: Colors.blue,
scaffoldBackgroundColor: Colors.grey[850], colorScheme: ThemeData.dark().colorScheme.copyWith(
primary: Colors.blue,
).copyWith(surface: Colors.grey[850]),
scaffoldBackgroundColor: Colors.grey[850],
colorScheme: ThemeData.dark()
.colorScheme
.copyWith(primary: Colors.blue, surface: Colors.grey[850]),
),
locale: _currentLocale,
localizationsDelegates: const [
Expand Down

0 comments on commit bf07434

Please sign in to comment.