Skip to content

Instantly share code, notes, and snippets.

@raviyadav5951
Created January 31, 2021 13:18
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 raviyadav5951/02d999f9f59e5f1c4479e740371f4298 to your computer and use it in GitHub Desktop.
Save raviyadav5951/02d999f9f59e5f1c4479e740371f4298 to your computer and use it in GitHub Desktop.
container.dart
Container(
constraints: BoxConstraints.expand(
height: Theme.of(context).textTheme.headline4.fontSize * 1.1 + 200.0,
),
padding: const EdgeInsets.all(8.0),
color: Colors.blue[600],
alignment: Alignment.center,
child: Text('Hello World',
style: Theme.of(context)
.textTheme
.headline4
.copyWith(color: Colors.white)),
transform: Matrix4.rotationZ(0.1),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment