mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-23 06:38:35 +02:00
13 lines
391 B
Dart
13 lines
391 B
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(bool value) onValueChange;
|
|
} |