BarButton constructor
const
BarButton({
- String? text,
- IconData? icon,
- VoidCallback? onPressed,
Supply the Button's label, icon, and 'onPressed' routine.
Implementation
const BarButton({this.text, this.icon, this.onPressed});