Skip to content

Commit b671ab9

Browse files
author
Md Waliul Islam Alif
committed
Fix Bugs
1 parent a4eedac commit b671ab9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/app/modules/common/splash_page.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ class _SplashPageState extends State<SplashPage> {
1010
@override
1111
void initState() {
1212
super.initState();
13+
Future.delayed(
14+
Duration(seconds: 1),
15+
() {
16+
Get.changeTheme(WaveTheme());
17+
},
18+
);
1319
Future.delayed(
1420
Duration(seconds: 2),
1521
() async {

lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class MyApp extends StatelessWidget {
1515
return GetMaterialApp(
1616
title: 'Flutter Demo',
1717
debugShowCheckedModeBanner: false,
18-
theme: WaveTheme(),
1918
home: SplashPage(),
2019
);
2120
}

0 commit comments

Comments
 (0)