Skip to content

Instantly share code, notes, and snippets.

@jtmuller5
Created January 13, 2021 01:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jtmuller5/b521b6fe8f6cbb11de544d6bcddb08b2 to your computer and use it in GitHub Desktop.
class VideoTimeElapsed extends ViewModelWidget<StackedVideoViewModel> {
@override
Widget build(BuildContext context, StackedVideoViewModel model) {
return Container(
padding: EdgeInsets.only(bottom: 8, left: 8),
height: model.thumbnailHeight,
width: model.thumbnailWidth,
child: Align(
alignment: Alignment.bottomLeft,
child: Container(
child: Text(
model.timeElapsedString,
style: TextStyle(color: Colors.white),
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment