base_widget_flutter
A Flutter BaseWidget wrapping Scaffold with a loading overlay and back-navigation control, plus weight-named text styles, hex colour parsing and a tintable SVG widget.
What this package is like to depend on
Last release 17 days ago
07 Aug 2026
Ships on a steady schedule
a new release about every 6 months
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
6 releases · first in 2025
5 releases in the last 12 months
see the full history below
Release timeline
6 releases · Mar 2025 to Aug 2026
2026
Releases
latest 6-
2.0.007 Aug 2026Release notes
Open source →Breaking changes
BaseWidgetno longer forces a white background.backgroundColoris now a parameter and defaults tonull, so the screen followsThemeData.scaffoldBackgroundColorand dark mode works. PassbackgroundColor: Colors.whiteto keep the old look.canPopis now actually wired to aPopScopeinstead of being ignored, and its default changed fromfalsetotrue(which matches the behaviour you were really getting). PasscanPop: falseto block back navigation.
New
BaseTextStyles— configure one font (fontFamily,fontSize,color,height,letterSpacing) and read back all nine weights,thinthroughblack. SetBaseTextStyles.instanceonce at start-up, or hold your own instance for a second typeface.HexColorextension onString—'#1364FF'.toColor()andtryToColor(), accepting 3, 4, 6 or 8 digits inAARRGGBBorder.SvgImageWidget— anSvgPicture.assetthat takes a plainColorinstead of aColorFilter, withsemanticsLabelfor screen readers.BaseApiClient— a configuredDiowith bearer auth viatokenProvider, a reference-countedonLoadingChangedsignal, pluggable logging and per-requestauthenticated/showLoaderflags.BaseLocationService— permission handling plusgetCurrentPosition, returning aLocationResultthat says why a read failed.BaseNotificationService— local notifications with a configurable icon and channel, deferred permission prompts and tap payloads.BasePrefs— synchronousSharedPreferencesafter a one-timeinit(), with non-null defaults on every getter.isLoadingcovers the body with a barrier and a progress indicator, withloadingIndicatorto replace the default spinner.dismissKeyboardOnTapunfocuses the current field on an outside tap.safeAreawraps the body in aSafeArea.- Forwards
floatingActionButton,bottomNavigationBar,drawer,endDrawerandresizeToAvoidBottomInsetto the underlyingScaffold.
Fixes and housekeeping
- Removed the invalid
flutter: platforms:block frompubspec.yaml, which Flutter 3.44 rejects for a non-plugin package. - Lowered the Dart SDK constraint from
^3.11.4to^3.9.0, the floorflutter_svgrequires. - Added dependencies on
flutter_svg,dio,geolocator,flutter_local_notificationsandshared_preferences. The last three are native plugins needing per-platform setup, andflutter_local_notificationsis not WASM-ready, so the package no longer carries theis:wasm-readytag. - Added an example app, a widget test suite and dartdoc comments on the whole public API.
-
1.0.414 Apr 2026Release notes
Open source →- Stable release of base_widget_flutter package
- Added reusable base widgets for faster UI development
- Improved code structure and maintainability
- Updated dependencies and SDK constraints
- Minor bug fixes and performance improvements
-
1.0.314 Apr 2026 -
1.0.214 Apr 2026 -
1.0.104 Oct 2025 -
0.0.128 Mar 2025