onPressed property
Invoked when the user taps on the bottom button. Usable only if pages length is greater than 1.
By default, it will navigate to the next page.
Implementation
final VoidCallback? onPressed;
Invoked when the user taps on the bottom button. Usable only if pages length is greater than 1.
By default, it will navigate to the next page.
final VoidCallback? onPressed;