Skip to content

Instantly share code, notes, and snippets.

@xinthink
Created March 5, 2020 09:57
Show Gist options
  • Save xinthink/4c823df06de3a325ccf2d0d09fa71b7c to your computer and use it in GitHub Desktop.
Save xinthink/4c823df06de3a325ccf2d0d09fa71b7c to your computer and use it in GitHub Desktop.
// in the note list
@override
Widget build(BuildContext context) => Hero(
tag: 'NoteItem${note.id}',
child: DefaultTextStyle(
style: kNoteTextLight,
child: Container(
...
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment