stack_wallet/lib/providers/exchange/changenow_initial_load_status.dart

14 lines
387 B
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
import 'package:flutter_riverpod/flutter_riverpod.dart';
enum ChangeNowLoadStatus {
loading,
success,
failed,
}
final changeNowEstimatedInitialLoadStatusStateProvider =
StateProvider<ChangeNowLoadStatus>((ref) => ChangeNowLoadStatus.loading);
final changeNowFixedInitialLoadStatusStateProvider =
StateProvider<ChangeNowLoadStatus>((ref) => ChangeNowLoadStatus.loading);