CommandBarCard constructor

const CommandBarCard({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry margin = EdgeInsets.zero,
  4. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 6.0, vertical: 4.0),
  5. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(4.0)),
  6. Color? borderColor,
  7. Color? backgroundColor,
})

Creates a command bar card.

Implementation

const CommandBarCard({
  super.key,
  required this.child,
  this.margin = EdgeInsets.zero,
  this.padding = const EdgeInsets.symmetric(horizontal: 6.0, vertical: 4.0),
  this.borderRadius = const BorderRadius.all(Radius.circular(4.0)),
  this.borderColor,
  this.backgroundColor,
});