firstsplashscreenview 0.0.4 copy "firstsplashscreenview: ^0.0.4" to clipboard
firstsplashscreenview: ^0.0.4 copied to clipboard

outdated

This is a SplashScreenView Package

This is a Splash Screen Package

Features #

SplashScreen({
    super.key,
    this.duration = const Duration(seconds: 5),
    this.child,
    this.colors = Colors.red,
    this.gradient,
    this.appBar,
    required this.nextPage,
    this.icon,
    this.timer,
    this.text,
  }) 

Using Code #

SplashScreen(
        child: Padding(
          padding: EdgeInsets.only(top: 20.0),
          child: Text(
            "ImCoderAditya",
            style: TextStyle(
              color: Colors.white,
              fontSize: 20,
            ),
          ),
        ),
        colors: Colors.red,
        circleAvatar: const CircleAvatar(
          radius: 40,
          backgroundColor: Colors.white,
          child: Icon(
            Icons.ac_unit_outlined,
            color: Colors.blue,
          ),
        ),
        nextPage: HomePage(),
        duration: Duration(seconds: 20),
      ),

(Optional) Using Code . #

Add this line given path 'android\app\src\main\res\values\styles.xml'

  <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
        <!-- Show a splash screen on the activity. Automatically removed when
             the Flutter engine draws its first frame -->
        <item name="android:windowBackground">@drawable/launch_background</item>
        <item name="android:colorBackground">#ff1100</item>
        <item name="android:statusBarColor">#ff1100</item>

    </style>

ScreenShot #

loading... loading... loading... loading... loading...
2
likes
0
points
92
downloads

Publisher

unverified uploader

Weekly Downloads

This is a SplashScreenView Package

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on firstsplashscreenview