Skip to content

Instantly share code, notes, and snippets.

@sbis04
Created February 17, 2021 01:31
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 sbis04/dcb147e5ac63c191fe33828873296f83 to your computer and use it in GitHub Desktop.
Save sbis04/dcb147e5ac63c191fe33828873296f83 to your computer and use it in GitHub Desktop.
Padding(
padding: const EdgeInsets.only(top: 8.0, left: 16.0, right: 16.0),
child: Column(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
InfoTile(
name: 'Asset ID',
data: assetData.id,
),
InfoTile(
name: 'Created',
data: dateTimeString,
),
InfoTile(
name: 'Status',
data: assetData.status,
),
InfoTile(
name: 'Duration',
data: '${assetData.duration.toStringAsFixed(2)} seconds',
),
InfoTile(
name: 'Max Resolution',
data: assetData.maxStoredResolution,
),
InfoTile(
name: 'Max Frame Rate',
data: assetData.maxStoredFrameRate.toString(),
),
InfoTile(
name: 'Aspect Ratio',
data: assetData.aspectRatio,
),
SizedBox(height: 8.0),
],
),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment