Skip to content

Commit

Permalink
fix: replace deprecated items with up-to-date ones
Browse files Browse the repository at this point in the history
  • Loading branch information
srieteja committed May 21, 2024
1 parent 4c63066 commit 588414b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/at_common_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ class MyApp extends StatelessWidget {
theme: ThemeData(
brightness: Brightness.light,
primaryColor: const Color(0xFFf04924),
backgroundColor: Colors.white,
colorScheme: ThemeData.light().colorScheme.copyWith(surface: Colors.white),
),
darkTheme: ThemeData(
brightness: Brightness.dark,
fontFamily: 'RobotoSlab',
primaryColor: const Color(0xFFF05E3E),
backgroundColor: Colors.black,
colorScheme: ThemeData.dark().colorScheme.copyWith(surface: Colors.black),
),
themeMode: snapshot.data,
title: 'Example App',
Expand Down

0 comments on commit 588414b

Please sign in to comment.