splashy 2.0.2 splashy: ^2.0.2 copied to clipboard
Splash Screen is the first visual users see when an application is launched.
Animated Flat Camera Icon by Kushagra Agarwal
Splash Screen is the first visual users see when an application is launched.
One might wonder what is ‘splashy’ about Splash Screen. Frankly, very little! Its chief purpose is to engage users while the app loads. And in order to do that, it may feel like a of splash of visuals virtually thrown them.
package inspired from Splash Screen: Designing a Successful Launch Experience for Your Mobile App of Maitrik Kataria
📦 Splashy is a fork of animated_splash
Using the package #
import 'package:flutter/material.dart';
import 'package:splashy/splashy.dart';
void main(){
Future<Widget> customFunction(){
print("Background process");
return Future.value(HomPage())
}
runApp(MaterialApp(
home: Splashy(
imagePath: "assets/flutter_icon.png",
curve : Curves.easeInOut,
backgroundColor : Colors.blue,
customFunction: customFunction(),
)
));
}
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomeState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Splashy"),
),
body: Center(child: Text("Hello World"),),
);
}
}
maintainer #
- Jean Luc Kabulu don't hesite to 🐦 me or /and to buy a 🍹 for me 🤠