shape method

OutlinedBorder? shape(
  1. String name, {
  2. bool? top,
})

A shape: a token, a radius, stadium, circle or a map. The property called shape follows the component's shape token.

Implementation

OutlinedBorder? shape(String name, {bool? top}) {
  final t = top ?? topShape;
  return _shapeAt(_find(name, 'shape'), top: t) ?? _tokenShape(name, t);
}