CupertinoCard constructor
CupertinoCard({
- Widget? child,
- double elevation = 2.0,
- EdgeInsets margin = const EdgeInsets.all(4.0),
- EdgeInsets padding = const EdgeInsets.all(0.0),
- Color color = Colors.white,
- Color? splashColor,
- Decoration? decoration,
- BorderRadius radius = const BorderRadius.all(const Radius.circular(40.0)),
- VoidCallback? onPressed,
Implementation
CupertinoCard({
this.child,
this.elevation = 2.0,
this.margin: const EdgeInsets.all(4.0),
this.padding: const EdgeInsets.all(0.0),
this.color: Colors.white,
this.splashColor,
this.decoration,
this.radius: const BorderRadius.all(
const Radius.circular(
40.0,
),
),
this.onPressed,
});