nowbar_flutter 0.2.0
nowbar_flutter: ^0.2.0 copied to clipboard
A pure-Dart Flutter recreation of the Samsung Now Bar with animated media, notification, routine, sports, and timer surfaces.
Changelog #
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 #
Changed #
- Lowered the minimum SDK requirements so the package installs on a much wider
range of toolchains: Dart SDK
^3.12.0→^3.0.0and Flutter>=3.44.0→>=3.10.0. The code only relies on Dart 3 language features (records, patterns, class modifiers) and Flutter APIs available since 3.10, so no API changes were needed.flutter_lintswas lowered to^3.0.0to match. - README requirements tables (English and Korean) now state the lowered versions, and the stale "not on pub.dev yet" notice was removed.
- The README now leads with the timer app. The "Scope (this is a UI recreation)" section and the Now Bar deck screenshots were removed from it so the repository description is not mistaken for the app the example ships.
- The example app was rewritten from a Now Bar demo into a countdown timer app.
It no longer imports the package's widgets or uses the card deck. Instead it
drives an Android 16 Live Update (a promoted ongoing notification) over the
example's own
nowbar/live_timermethod channel, so a running timer appears in the notification shade's "Live info" section, as a lock-screen Now Bar card, and as a status-bar chip. - The example bundles a subset of Noto Sans KR (Regular 400, Bold 700) as the
theme's
fontFamilyFallbackso its Korean labels render on-device and in the golden test, and the example golden image was regenerated.
0.1.0 #
Added #
NowBarWidgetengine: a stacked, draggable Now Bar card deck with axis-locked pan gestures, vertical cycling with wrap-around, swipe-to-dismiss, andNowBarMetricsfor corner radius, height, translation clamp, shadow, width fraction, and an animation multiplier.NowBarComponent(builder slot plus adismissibleflag),NowBarDragController(dragUp, dragDown, dragVertically, dragHorizontally), andNotificationColorController(solid or gradient fills).- Five built-in surfaces:
MediaPlayerWidget,NotificationWidget,RoutinesWidget,SportsWidget, andTimerWidget. - Material 3 theme layer:
NowBarTheme(light, dark, or a seed color),NowBarColors,NowBarTypography, and a neutralNowBarIconscatalog. - Bundled Inter typeface (Regular 400, SemiBold 600, Bold 700) with its SIL OFL 1.1 notice.
- Runnable example app demonstrating every surface.
- 116 unit and widget tests plus 10 golden-image tests.
- Android platform support declared in
pubspec.yaml.