flutter

Styled border

Widget getUIWidget() {
  return Container(
    padding: EdgeInsets.all(10),
    decoration: BoxDecoration(
        borderRadius: BorderRadius.only(
            topLeft: Radius.circular(10), bottomRight: Radius.circular(10)),
        border: Border.all(color: Colors.blueAccent, width: 2)),
    child: Text('Simple Border'),
  );
}
Was this helpful?