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...")
)
giving a cotainer a border color
Container(
child: Text(
'This is a Container',
textScaleFactor: 2,
style: TextStyle(color: Colors.black),
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.white,
border: Border(
left: BorderSide(
color: Colors.green,
width: 3,
),
),
),
height: 50,
),
container border flutter
BoxDecoration myBoxDecoration() {
return BoxDecoration(
border: Border.all(),
);
}
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