SantoActionBarButton constructor
const
SantoActionBarButton({})
Implementation
const SantoActionBarButton({
Key? key,
this.text,
this.child,
this.type = SantoActionBarButtonType.normal,
this.color,
this.icon,
this.loading = false,
this.disabled = false,
this.onTap,
this.first = true,
this.last = true,
}) : assert(text != null || child != null, 'text 与 child 至少提供一个'),
super(key: key);