borderAll method
- @Deprecated('Use border(.color(c).width(w).style(s).strokeAlign(a)) for known values, or border(.all(BorderSideMix(color: color, width: width, style: style, strokeAlign: strokeAlign))) when forwarding nulls. borderAll will be removed in Mix 3.0.')
- Color? color,
- double? width,
- BorderStyle? style,
- double? strokeAlign,
Sets all borders.
Implementation
@Deprecated(
'Use border(.color(c).width(w).style(s).strokeAlign(a)) for known values, or border(.all(BorderSideMix(color: color, width: width, style: style, strokeAlign: strokeAlign))) when forwarding nulls. borderAll will be removed in Mix 3.0.',
)
T borderAll({
Color? color,
double? width,
BorderStyle? style,
double? strokeAlign,
}) {
final side = BorderSideMix(
color: color,
strokeAlign: strokeAlign,
style: style,
width: width,
);
return border(BorderMix.all(side));
}