Skip to content

Instantly share code, notes, and snippets.

@raviyadav5951
Created January 31, 2021 13:18
Show Gist options
  • Save raviyadav5951/5e5b1c8ab012746966d4040dcbfe8c26 to your computer and use it in GitHub Desktop.
Save raviyadav5951/5e5b1c8ab012746966d4040dcbfe8c26 to your computer and use it in GitHub Desktop.
Column dart
Column(
children: <Widget>[
Text('Flutter Child One'),
Text('Flutter Child Two'),
Expanded(
child: FittedBox(
fit: BoxFit.contain, // this is simple image
child: const FlutterLogo(),
),
),
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment