buildContent method
Implement this in subclasses to build the core content of the tab.
Implementation
@override
Widget buildContent(BuildContext context) {
final children = <Widget>[
if (imageProvider != null)
Image(image: imageProvider!, width: width, height: height ?? 24),
if (image != null) image!,
if (label != null) Text(label!),
];
return vertical
? Column(
mainAxisSize: MainAxisSize.min,
spacing: spacing,
children: children,
)
: Row(
mainAxisSize: MainAxisSize.min,
spacing: spacing,
children: children,
);
}