Answers for "give border to container in lfutter"

16

flutter container border

Container(
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.red,  // red as border color
    ),
  ),
  child: Text("Your text...")
)
Posted by: Guest on September-25-2020
0

container border flutter

BoxDecoration myBoxDecoration() {
  return BoxDecoration(
    border: Border.all(),
  );
}
Posted by: Guest on December-14-2020

Code answers related to "give border to container in lfutter"

Browse Popular Code Answers by Language