ILOVA
Splash_screen.dart
import 'package:flutter/material.dart';
import 'package:shop_app/size_config.dart';
import 'components/body.dart';
class SplashScreen extends StatelessWidget {
static String routeName = "/splash";
@override
Widget build(BuildContext context) {
SizeConfig().init(context);
return Scaffold(
body: Body(),
);
}
}
Body.dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:shop_app/components/default_button.dart';
import 'package:shop_app/constants.dart';
import 'package:shop_app/home/home_screen.dart';
import 'package:shop_app/size_config.dart';
import 'splash_content.dart';
class Body extends StatefulWidget {
@override
_BodyState createState() => _BodyState();
}
class _BodyState extends State {
int currentPage = 0;
List |