ActivityButton constructor
- Key? key,
- StateProvider<
PageController> ? pageControllerProvider, - VoidCallback? onPressed,
- String? tooltip,
- required Widget child,
Implementation
const ActivityButton({
super.key,
this.pageControllerProvider, // Optional for navigation.
this.onPressed, // Optional for additional logic.
this.tooltip,
required this.child,
});