YmDashedBorder.all constructor

YmDashedBorder.all({
  1. Color color = const Color(0xFF000000),
  2. double width = 1.0,
  3. double dottedLength = 5,
  4. double dottedSpace = 3,
})

Implementation

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