construct method
Initialize your controller with this method. It contains same BuildContext as the NyStatefulWidget.
Implementation
@mustCallSuper
Future<void> construct(BuildContext context) async {
this.context = context;
}
Initialize your controller with this method. It contains same BuildContext as the NyStatefulWidget.
@mustCallSuper
Future<void> construct(BuildContext context) async {
this.context = context;
}