flutter container border
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red, // red as border color
),
),
child: Text("Your text...")
)
flutter container border
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red, // red as border color
),
),
child: Text("Your text...")
)
flutter text border color
Stack(
children: <Widget>[
// Stroked text as border.
Text(
'Greetings, planet!',
style: TextStyle(
fontSize: 40,
foreground: Paint()
..style = PaintingStyle.stroke
..strokeWidth = 6
..color = Colors.blue[700],
),
),
// Solid text as fill.
Text(
'Greetings, planet!',
style: TextStyle(
fontSize: 40,
color: Colors.grey[300],
),
),
],
)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us