You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
451 B
15 lines
451 B
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;
|
|
}
|