build method
Implementation
List<Widget> build(BuildContext context) {
final theme = Theme.of(context);
return values.map((item) {
return Container(
color: Colors.transparent,
alignment: Alignment.centerLeft,
child: Text(
labelBuilder?.call(item) ?? item.name,
style: TextStyle(
color: color ?? theme.colorScheme.onSurface,
),
),
);
}).toList();
}