build method
Subclasses should override this function to display the given children, which are the parsed representation of data.
Implementation
@override
Widget build(BuildContext context, List<Widget>? children) {
if (children!.length == 1) {
return children.single;
}
return Column(
mainAxisSize: shrinkWrap ? MainAxisSize.min : MainAxisSize.max,
crossAxisAlignment:
fitContent ? CrossAxisAlignment.start : CrossAxisAlignment.stretch,
children: children,
);
}