parseWidgetStateOutlinedBorder function

WidgetStateProperty<OutlinedBorder?>? parseWidgetStateOutlinedBorder(
  1. Control control,
  2. String propName
)

Implementation

WidgetStateProperty<OutlinedBorder?>? parseWidgetStateOutlinedBorder(
    Control control, String propName) {
  var v = control.attrString(propName, null);
  if (v == null) {
    return null;
  }

  return getWidgetStateProperty<OutlinedBorder?>(
      jsonDecode(v), (jv) => outlinedBorderFromJSON(jv), null);
}