getBorderSide method

BorderSide? getBorderSide(
  1. Map? spec
)

Implementation

BorderSide? getBorderSide(Map? spec) {
  if (spec == null || spec.isEmpty) {
    return null;
  }
  return BorderSide(
    color: parseColor(spec["color"], defaultColor: Colors.black),
    width: parseDouble(spec["width"], defaultValue: 1.0),
  );
}