stack_wallet/lib/providers/ui/preview_tx_button_state_provider.dart

14 lines
328 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 previewTxButtonStateProvider = StateProvider.autoDispose<bool>((_) {
if (kDebugMode) {
_count++;
debugPrint("previewTxButtonStateProvider instantiation count: $_count");
}
return false;
});