PaddedChildrenList constructor
const
PaddedChildrenList({
- Key? key,
- required List<
Widget> children, - EdgeInsetsGeometry? padding,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- 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
});