Flutter Material UI Border Config

Border Constructors

  • Border({BorderSide top, BorderSide right, BorderSide bottom, BorderSide left}): Creates a border.

  • Border.all({Color color = const Color(4278190080), double width = 1.0, BorderStyle style = BorderStyle.solid}): A uniform border with all sides the same color and width.

  • Border.fromBorderSide(BorderSide side): Creates a border whose sides are all the same.

  • Border.symmetric({BorderSide vertical = BorderSide.none, BorderSide horizontal = BorderSide.none}): Creates a border with symmetrical vertical and horizontal sides.