ActivityButton constructor

const ActivityButton({
  1. Key? key,
  2. StateProvider<PageController>? pageControllerProvider,
  3. VoidCallback? onPressed,
  4. String? tooltip,
  5. required Widget child,
})

Implementation

const ActivityButton({
  super.key,
  this.pageControllerProvider, // Optional for navigation.
  this.onPressed, // Optional for additional logic.
  this.tooltip,
  required this.child,
});