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.
cake_wallet/lib/view_model/settings/switcher_list_item.dart

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;
}