InheritedRandomTasks constructor

const InheritedRandomTasks({
  1. required VoidCallback pause,
  2. required VoidCallback resume,
  3. required Widget child,
  4. Key? key,
})

Create an instance.

Implementation

const InheritedRandomTasks({
  required this.pause,
  required this.resume,
  required super.child,
  super.key,
});