Created
January 8, 2019 01:16
-
-
Save KickedDroid/00be8b6c73618a583de7ee93c5df8757 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
floatingActioButton: ScopedModelDescendant<UserModel>( | |
builder: (context, child, model) { | |
return FloatingActionButton( | |
onPressed: model.changeName(String "Kodak Black"), | |
tooltip: 'Update Name', | |
child: Icon(Icons.add), | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment