Created
January 31, 2021 13:18
-
-
Save raviyadav5951/02d999f9f59e5f1c4479e740371f4298 to your computer and use it in GitHub Desktop.
container.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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