Created
June 30, 2020 10:40
-
-
Save jeanluc243/e135e9f5c92da020fd6d21e24bc1a5fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:splashy/splashy.dart'; | |
class Linkedin extends StatelessWidget { | |
Future<Widget> customFunction() { | |
print("Background process"); | |
return Future.value(LinkedinHomePage()); | |
} | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
debugShowCheckedModeBanner: true, | |
home: Splashy( | |
imagePath: "assets/linkindin.png", | |
style: AnimationStyle.Still, | |
backgroundColor: Color(0xFF066dae), | |
customFunction: customFunction(), | |
curve: Curves.linear, | |
duration: 2000, | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment