build method
Describes the part of the UI represented by this widget.
Implementation
@override
Widget build(BuildContext context) {
return Button(
child: Row(gap: 1, children: [if (avatar != null) avatar!, label]),
onPressed: onPressed,
enabled: enabled,
variant: ButtonVariant.secondary,
size: size,
);
}