initControls method

  1. @protected
List<ControlModel> initControls(
  1. CoreContext context
)
inherited

This is a place where to fill all required ControlModels for this Widget. Called during Widget/State initialization phase.

Implementation

@protected
List<ControlModel> initControls(CoreContext context) =>
    autoMountControls ? context.args.getAll<ControlModel>() : [];