Panel constructor
const
Panel({
- Key? key,
- required Widget child,
- Widget? title,
- Widget? action,
- EdgeInsetsGeometry padding = const EdgeInsets.all(12),
- EdgeInsetsGeometry margin = const EdgeInsets.all(0),
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- Color? backgroundColor,
- double elevation = 0,
Implementation
const Panel({
super.key,
required this.child,
this.title,
this.action,
this.padding = const EdgeInsets.all(12),
this.margin = const EdgeInsets.all(0),
this.borderRadius = BorderRadius.zero,
this.backgroundColor,
this.elevation = 0,
});