PaddedChildrenList constructor

const PaddedChildrenList({
  1. Key? key,
  2. required List<Widget> children,
  3. EdgeInsetsGeometry? padding,
  4. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  5. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  6. double defaultPadding = 16.0,
})

Implementation

const PaddedChildrenList({
  super.key,
  required this.children,
  this.padding,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.crossAxisAlignment = CrossAxisAlignment.start,
  this.defaultPadding = 16.0, // Default padding value
});