Activity<T extends ActiveController> constructor

const Activity<T extends ActiveController>(
  1. T activeController, {
  2. Key? key,
  3. required Widget child,
  4. required String onActivityStateChanged(),
  5. bool developerMode = false,
})

Implementation

const Activity(
  this.activeController, {
  Key? key,
  required this.child,
  required this.onActivityStateChanged,
  this.developerMode = false,
}) : super(key: key);