construct method

  1. @mustCallSuper
dynamic construct(
  1. BuildContext context
)

Initialize your controller with this method. It contains same BuildContext as the NyStatefulWidget.

Implementation

@mustCallSuper
construct(BuildContext context) async {
  this.context = context;
}