FormRowLayout.expanded constructor
FormRowLayout.expanded(
- List<
FormItem> items, { - bool isActive = true,
- EdgeInsets? margin,
- FormItemWrapper? wrapper,
- EdgeInsets? fieldMargin,
- Widget? separator,
Implementation
FormRowLayout.expanded(
this.items, {
bool isActive = true,
EdgeInsets? margin,
FormItemWrapper? wrapper,
EdgeInsets? fieldMargin,
this.separator,
}) : mainAxisSize = MainAxisSize.max,
super(
isActive: isActive,
margin: margin,
wrapper: (item, child) {
if (wrapper != null) {
return Expanded(child: wrapper(item, child));
}
return Expanded(child: child);
},
fieldMargin: fieldMargin,
);