updateTextField method

void updateTextField(
  1. AFWidgetID wid,
  2. String text
)
inherited

Implementation

void updateTextField(AFWidgetID wid, String text) {
  final param = p;

  final flutterState = param.flutterStatePrivate as AFFlutterRouteParamState?;
  final controllers = flutterState?.textControllers;
  if(controllers == null) {
    throw AFException(AFStateProgrammingInterface.errNeedTextControllers);
  }
  controllers.update(wid, text);
}