BASE: Create AppRouter Util.
This commit is contained in:
@@ -9,12 +9,16 @@ class SplashScreen extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GetBuilder<SplashController>(
|
||||
init: SplashController(),
|
||||
init: SplashController(context: context),
|
||||
builder: (controller) {
|
||||
return Scaffold(
|
||||
backgroundColor: AppThemeData.mainColor,
|
||||
body: Center(
|
||||
child: Image.asset("assets/images/fondex_logo_main.png", width: 120, height: 120),
|
||||
child: Image.asset(
|
||||
"assets/images/fondex_logo_main.png",
|
||||
width: 120,
|
||||
height: 120,
|
||||
),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user