Refactor widgets, add bloc dep

Clean up widget code and update a dependency:

- Remove redundant const qualifiers and tidy widget children in several skeleton/header widgets for consistent style.
- Add super.key to TaxFormsProgressOverview, TaxFormStatusBadge, and AccountCard constructors.
- Simplify AccountCard by consolidating its constructor into a single const declaration.
- Minor fixes: adjust Image.onError parameter, reformat CircleAvatar/Icon construction in edit_profile_page.
- Add bloc ^8.1.4 to staff/authentication pubspec.

These changes are stylistic and aim to improve consistency and constructor patterns across the codebase.
This commit is contained in:
Achintha Isuru
2026-03-18 10:33:19 -04:00
parent 9ee8467632
commit 3e5b6af8dc
9 changed files with 28 additions and 28 deletions

View File

@@ -27,7 +27,7 @@ class LocationMapPlaceholder extends StatelessWidget {
// In a real app with keys, this would verify visually.
// For now we use a generic placeholder color/icon to avoid broken images.
fit: BoxFit.cover,
onError: (_, __) {},
onError: (_, _) {},
),
),
child: Stack(