mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added selection mode
This commit is contained in:
parent
5768eac1b2
commit
9d3391aa0d
5 changed files with 411 additions and 3 deletions
|
@ -11,6 +11,7 @@ class CustomListTile extends StatelessWidget {
|
|||
final void Function()? onLongPress;
|
||||
final bool? disabled;
|
||||
final void Function(bool)? onHover;
|
||||
final Color? color;
|
||||
|
||||
const CustomListTile({
|
||||
Key? key,
|
||||
|
@ -24,12 +25,13 @@ class CustomListTile extends StatelessWidget {
|
|||
this.onLongPress,
|
||||
this.disabled,
|
||||
this.onHover,
|
||||
this.color,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Material(
|
||||
color: Colors.transparent,
|
||||
color: color ?? Colors.transparent,
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
onHover: onHover,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue