Skip to content

Instantly share code, notes, and snippets.

@Vanethos
Created May 6, 2019 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vanethos/dd9bdeb2e7459dd691ed6ed979cc5a0a to your computer and use it in GitHub Desktop.
Save Vanethos/dd9bdeb2e7459dd691ed6ed979cc5a0a to your computer and use it in GitHub Desktop.
class MyHomePage extends BasePage {
MyHomePage({Key key}) : super(key: key);
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends BaseState<MyHomePage> with BasicPage{
@override
String screenName() => "Home";
@override
Widget body() {
return Center(child: Text("This is a basic usage of a mixin"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment