SnapshotHandler constructor

const SnapshotHandler({
  1. Key? key,
  2. required AsyncSnapshot<PagifyAsyncCallStatus> snapshot,
  3. required Widget loadingWidget,
  4. required Widget activeStateCallBack(
    1. AsyncSnapshot<PagifyAsyncCallStatus> snapshot
    ),
})

Creates a snapshot handler for managing async call UI states.

Implementation

const SnapshotHandler({super.key,
  required this.snapshot,
  required this.loadingWidget,
  required this.activeStateCallBack
});