Search code snippets, questions, articles...

Decoration BoxDecoration Container

BoxDecoration myBoxDecoration() {
  return BoxDecoration(
    border: Border.all(
      width: 1, 
    ),
  );
}
BoxDecoration myBoxDecoration() {
   return BoxDecoration(
     border: Border(
       left: BorderSide(
         width: 2.0,
         color: Colors.green,
       ),
       right: BorderSide(
         width: 2.0,
         color: Colors.green,
       ),
       top: BorderSide(
         width: 2.0,
         color: Colors.green,
       ),
       bottom: BorderSide(
         width: 2.0,
         color: Colors.green,
       ),
     ),
     borderRadius: BorderRadius.all(
       Radius.circular(10.0),
     ),
   );
 }
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place.
Was this helpful?
0 Comments