Skip to content

Repository files navigation

Splash Screen

  • A small Splash Screen used for an intro for any flutter application easily using

For iOS And Android

  • It 's Now Very Simple And Easy To Use
  • Coming Soon Will Add A Greater Functions
  • For Any information Send Message To Me On => monkey4gamesmmm@gmail.com

ScreenShot

screenshot description (alt)

Usage

Example

To use this package :

dependencies:
flutter:
sdk: fluttersplashscreen:

How to use

newSplashScreen(
seconds:14,
navigateAfterSeconds:newAfterSplash(),
title:newText('Welcome In SplashScreen'),
image:newImage.asset('screenshot.png'),
backgroundColor:Colors.white,
styleTextUnderTheLoader:newTextStyle(),
photoSize:100.0,
loaderColor:Colors.red
);

Example

import'package:flutter/material.dart';
import'package:splashscreen/splashscreen.dart';
voidmain(){
runApp(newMaterialApp(
home:newMyApp(),
));
}
classMyAppextendsStatefulWidget {
@override_MyAppStatecreateState() =>new_MyAppState();
}
class_MyAppStateextendsState<MyApp> {
@overrideWidgetbuild(BuildContext context) {
returnnewSplashScreen(
seconds:14,
navigateAfterSeconds:newAfterSplash(),
title:newText('Welcome In SplashScreen',
style:newTextStyle(
fontWeight:FontWeight.bold,
fontSize:20.0
),),
image:newImage.network('https://i.imgur.com/TyCSG9A.png'),
backgroundColor:Colors.white,
styleTextUnderTheLoader:newTextStyle(),
photoSize:100.0,
onClick: ()=>print("Flutter Egypt"),
loaderColor:Colors.red
);
}
}
classAfterSplashextendsStatelessWidget {
@overrideWidgetbuild(BuildContext context) {
returnnewScaffold(
appBar:newAppBar(
title:newText("Welcome In SplashScreen Package"),
automaticallyImplyLeading:false
),
body:newCenter(
child:newText("Done!",
style:newTextStyle(
fontWeight:FontWeight.bold,
fontSize:30.0
),),
),
);
}
}

About

A small Splash Screen used for an intro for any flutter application easily using

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages