StateX<T extends StatefulWidget> constructor

StateX<T extends StatefulWidget>({
  1. StateXController? controller,
  2. bool? useInheritedWidget,
})

Implementation

StateX({StateXController? controller, this.useInheritedWidget})
    : super(controller) {
  // Ensure a default value
  _useInherited = this.useInheritedWidget ?? false;
}