stack_wallet/lib/providers/exchange/changenow_initial_load_status.dart
2022-08-26 16:11:35 +08:00

13 lines
387 B
Dart

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);