You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
752 B
Dart
29 lines
752 B
Dart
|
2 years ago
|
// import 'package:flutter/material.dart';
|
||
|
|
|
||
|
|
// import '../../../config/app_config.dart';
|
||
|
|
|
||
|
|
// class PSwitchListTile extends StatelessWidget {
|
||
|
|
// final String title;
|
||
|
|
// final String subtitle;
|
||
|
|
// final bool value;
|
||
|
|
// final Function(bool value) onChanged;
|
||
|
|
// const PSwitchListTile(
|
||
|
|
// {Key? key,
|
||
|
|
// required this.title,
|
||
|
|
// required this.subtitle,
|
||
|
|
// required this.value,
|
||
|
|
// required this.onChanged})
|
||
|
|
// : super(key: key);
|
||
|
|
|
||
|
|
// @override
|
||
|
|
// Widget build(BuildContext context) {
|
||
|
|
// return SwitchListTile.adaptive(
|
||
|
|
// activeColor: AppConfig.activeToggleColor,
|
||
|
|
// title: Text(title),
|
||
|
|
// subtitle: Text(subtitle),
|
||
|
|
// value: value,
|
||
|
|
// onChanged: onChanged,
|
||
|
|
// );
|
||
|
|
// }
|
||
|
|
// }
|