borderRight method

DefineMTextModifier borderRight({
  1. Color? color,
  2. double? width,
})

Implementation

DefineMTextModifier borderRight({Color? color, double? width}) {
  final borderSide =
      BorderSide(color: color ?? Colors.white, width: width ?? 1);
  return this.copyWith(
    valueBorder: Border(right: borderSide),
  );
}