add filter panel to calculator

This commit is contained in:
2025-12-22 23:16:54 +00:00
parent 950978b021
commit d5d204dd19
6 changed files with 368 additions and 96 deletions

View File

@@ -513,21 +513,10 @@ class _TractionPageState extends State<TractionPage> {
if (widget.selectionMode) {
return Scaffold(
appBar: AppBar(
leadingWidth: 140,
leading: Padding(
padding: const EdgeInsets.only(left: 8.0),
child: TextButton.icon(
onPressed: () => Navigator.of(context).pop(),
icon: const Icon(Icons.arrow_back),
label: const Text('Back'),
style: TextButton.styleFrom(
padding: const EdgeInsets.symmetric(
horizontal: 12,
vertical: 10,
),
foregroundColor: Theme.of(context).colorScheme.onSurface,
),
),
leadingWidth: 56,
leading: IconButton(
icon: const Icon(Icons.arrow_back),
onPressed: () => Navigator.of(context).pop(),
),
title: null,
),