Skip to content

Instantly share code, notes, and snippets.

@jeanluc243
Created June 30, 2020 10:40
Show Gist options
  • Save jeanluc243/e135e9f5c92da020fd6d21e24bc1a5fe to your computer and use it in GitHub Desktop.
Save jeanluc243/e135e9f5c92da020fd6d21e24bc1a5fe to your computer and use it in GitHub Desktop.
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