Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is a simple sample app for running our custom StatefulWidget.
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
title: 'FabLoader Demo',
theme: ThemeData(
home: Scaffold(
appBar: AppBar(
title: Text('FabLoader Flutter Demo'),
body: Center(
child: Text('Empty state ¯\\_(ツ)_/¯'),
floatingActionButton: FabLoader(
child: FloatingActionButton(
onPressed: _fabPressed,
child: Icon(Icons.add),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.