28 lines
752 B
Dart
28 lines
752 B
Dart
// 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,
|
|
// );
|
|
// }
|
|
// }
|