LoadingStateHandlerController constructor

LoadingStateHandlerController({
  1. CurrentStateEnum? initialState,
})

Creates a new LoadingStateHandlerController.

The initialState parameter is used to set the initial state of the widget. If initialState is not provided, the initial state will be CurrentStateEnum.normal.

Implementation

LoadingStateHandlerController({CurrentStateEnum? initialState})
    : super(initialState ?? CurrentStateEnum.normal);