Created
March 5, 2020 09:58
-
-
Save xinthink/50837a0b043d6f884979078f067d5dfa 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
@override | |
Widget build(BuildContext context) { | |
final uid = Provider.of<CurrentUser>(context).data.uid; | |
return ChangeNotifierProvider.value( | |
value: _note, | |
child: Consumer<Note>( | |
builder: (_, __, ___) => Hero( | |
tag: 'NoteItem${_note.id}', | |
child: DefaultTextStyle( | |
style: ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment