borderAll method

  1. @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({
  1. Color? color,
  2. double? width,
  3. BorderStyle? style,
  4. 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));
}