-
-
Save Vanethos/a30e9e5f4e378398af60ffc98bcff26c to your computer and use it in GitHub Desktop.
This file contains 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
mixin BasicPage<Page extends BasePage> on BaseState<Page> { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
//... | |
floatingActionButton: fab(), | |
} | |
//... | |
Widget fab() => Container(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment