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 => RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(radius),
    );