DottedLineBorder.all constructor

DottedLineBorder.all({
  1. Color color = const Color(0xFF000000),
  2. double width = 1.0,
  3. double length = 5,
  4. double space = 3,
})

Implementation

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