mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix settings list tile padding
This commit is contained in:
parent
c492e151b3
commit
9bc1463cd5
2 changed files with 80 additions and 35 deletions
|
|
@ -29,8 +29,13 @@ class FlatButton extends ConsumerWidget {
|
|||
super.key,
|
||||
});
|
||||
|
||||
bool get _hasInteraction => onTap != null || onLongPress != null || onDoubleTap != null;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
if (!_hasInteraction) {
|
||||
return child ?? Container();
|
||||
}
|
||||
return Stack(
|
||||
fit: StackFit.passthrough,
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue