main function
void
main()
Goto InitialPage to setup starting pages of your applications.
Goto InitMaterialApp to setup Material App of your application.
Goto RouteServices to setup routes of your application.
Goto Constants to specify ENV & Constants.appName.
Setup your
pubspec.yaml
,
flutter_launcher_icons.yaml
,
flutter_native_splash.yaml
,
package_rename_config.yaml
files after running init command of flutter_boilerplate.
Implementation
void main() {
///NOTE:- All initializer things for different projects must be added in [Initializer] class's init method.
Initializer.init(() {
runApp(const InitMaterialApp());
});
}