mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
15 lines
448 B
Dart
15 lines
448 B
Dart
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/foundation.dart';
|
|
import 'package:cake_wallet/view_model/settings/settings_list_item.dart';
|
|
|
|
class SwitcherListItem extends SettingsListItem {
|
|
SwitcherListItem(
|
|
{required String title,
|
|
required this.value,
|
|
required this.onValueChange})
|
|
: super(title);
|
|
|
|
final bool Function() value;
|
|
final void Function(BuildContext context, bool value) onValueChange;
|
|
}
|