useBorder method

void useBorder({
  1. Color? color,
  2. double? width,
  3. BorderStyle? style,
})

Implementation

void useBorder({
  Color? color,
  double? width,
  BorderStyle? style,
}) {
  _applyBoxDecorationProperty(
    border: Border.all(
      color: color ?? Colors.transparent,
      width: width ?? 0,
      style: style ?? BorderStyle.solid,
    ),
  );
}