InitLoader<T extends InitLoaderControl>.of constructor

InitLoader<T extends InitLoaderControl>.of({
  1. Future load(
    1. InitLoaderControl
    )?,
  2. Duration? delay,
  3. required WidgetBuilder builder,
})

Implementation

factory InitLoader.of({
  Future<dynamic> Function(InitLoaderControl)? load,
  Duration? delay,
  required WidgetBuilder builder,
}) =>
    InitLoader(
      control: InitLoaderControl.of(
        load: load,
        delay: delay,
      ) as T?,
      builder: builder,
    );