PlatformCardTheme.ofRadius constructor
PlatformCardTheme.ofRadius({
- required double radiusAmount,
- List<
BoxShadow> boxShadow = kDefaultShadow, - String? debugLabel,
- Color cardColor = CupertinoColors.white,
- EdgeInsets padding = kDefaultPadding,
- EdgeInsets margin = kDefaultMargin,
Implementation
PlatformCardTheme.ofRadius({
required double radiusAmount,
this.boxShadow = kDefaultShadow,
this.debugLabel,
this.cardColor = CupertinoColors.white,
this.padding = kDefaultPadding,
this.margin = kDefaultMargin,
}) : borderRadius = BorderRadius.all(Radius.circular(radiusAmount));