feat: live search with back navigation and animated transitions

This commit is contained in:
zarzet
2026-01-02 16:43:59 +07:00
parent 973c2e3b41
commit 39bcc2c547
17 changed files with 448 additions and 232 deletions
+10 -3
View File
@@ -31,9 +31,12 @@ class SettingsGroup extends StatelessWidget {
borderRadius: BorderRadius.circular(20),
),
clipBehavior: Clip.antiAlias,
child: Column(
mainAxisSize: MainAxisSize.min,
children: children,
child: Material(
color: Colors.transparent,
child: Column(
mainAxisSize: MainAxisSize.min,
children: children,
),
),
);
}
@@ -67,6 +70,8 @@ class SettingsItem extends StatelessWidget {
children: [
InkWell(
onTap: onTap,
splashColor: colorScheme.primary.withValues(alpha: 0.12),
highlightColor: colorScheme.primary.withValues(alpha: 0.08),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 16),
child: Row(
@@ -147,6 +152,8 @@ class SettingsSwitchItem extends StatelessWidget {
children: [
InkWell(
onTap: onChanged != null ? () => onChanged!(!value) : null,
splashColor: colorScheme.primary.withValues(alpha: 0.12),
highlightColor: colorScheme.primary.withValues(alpha: 0.08),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 12),
child: Row(