EditorialPanel constructor

const EditorialPanel({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(28),
  4. EdgeInsetsGeometry? margin,
  5. EditorialPanelTone tone = EditorialPanelTone.surface,
  6. Color? borderColor,
  7. VoidCallback? onTap,
})

Implementation

const EditorialPanel({
  super.key,
  required this.child,
  this.padding = const EdgeInsets.all(28),
  this.margin,
  this.tone = EditorialPanelTone.surface,
  this.borderColor,
  this.onTap,
});