stack_wallet/lib/providers/ui/home_view_index_provider.dart

14 lines
315 B
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
import 'package:flutter/foundation.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
int _count = 0;
final homeViewPageIndexStateProvider = StateProvider<int>((_) {
if (kDebugMode) {
_count++;
debugPrint("homeViewPageIndexStateProvider instantiation count: $_count");
}
return 0;
});