DrawerContainer.alignCenter constructor

const DrawerContainer.alignCenter({
  1. Key? key,
  2. required Widget child,
  3. double startPadding = 0,
  4. double endPadding = 0,
  5. AxisSize? size,
  6. bool expands = false,
  7. bool intrinsic = true,
})

A drawer container centered on the cross axis.

Implementation

const DrawerContainer.alignCenter({
  super.key,
  required this.child,
  this.startPadding = 0,
  this.endPadding = 0,
  this.size,
  this.expands = false,
  this.intrinsic = true,
}) : alignment = 0;