stateShape method

WidgetStateProperty<OutlinedBorder?>? stateShape(
  1. String name
)

A shape, or a shape per state.

Implementation

WidgetStateProperty<OutlinedBorder?>? stateShape(String name) {
  final value = _states(name, 'shape', _shapeAt);
  if (value != null) {
    return value;
  }
  final token = _tokenShape(name, topShape);
  return token == null
      ? null
      : WidgetStatePropertyAll<OutlinedBorder?>(token);
}