shape method
Implementation
ShapeBorder? shape() => hasShape()
? RoundedRectangleBorder(
side: hasBorder()
? BorderSide(
color: border ?? colorScheme().background,
width: borderWidth!,
)
: BorderSide.none,
borderRadius: BorderRadius.circular(borderRadius ?? 8), // <-- Radius
)
: null;