RBorder.all constructor

RBorder.all({
  1. Color color = const Color(0xFF000000),
  2. double width = 1.0,
})

Implementation

factory RBorder.all({
  Color color = const Color(0xFF000000),
  double width = 1.0,
}) {
  final BorderSide side =
      BorderSide(color: color, width: width, style: BorderStyle.solid);
  return RBorder.fromBorderSide(
    side,
  );
}