shapeBorder property

  1. @override
ShapeBorder get shapeBorder
override

A ShapeBorder that represents the specific shape.

Implement this in subclasses to return the shape-specific border configuration.

Implementation

@override
ShapeBorder get shapeBorder => ContinuousRectangleBorder(
      borderRadius: BorderRadius.circular(radius),
    );