$borderAll method
Widget
$borderAll({
- Color color = const Color(0xFF000000),
- double width = 1.0,
- BorderStyle style = BorderStyle.solid,
- double strokeAlign = BorderSide.strokeAlignInside,
- double radius = 0,
Implementation
Widget $borderAll({
Color color = const Color(0xFF000000),
double width = 1.0,
BorderStyle style = BorderStyle.solid,
double strokeAlign = BorderSide.strokeAlignInside,
double radius = 0,
}) {
return DecoratedBox(
position: DecorationPosition.foreground,
decoration: BoxDecoration(
border: Border.all(color: color, width: width, style: style, strokeAlign: strokeAlign),
borderRadius: BorderRadius.all(Radius.circular(radius)),
),
child: this,
);
}