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