linear_progress_bar 2.0.0+2
linear_progress_bar: ^2.0.0+2 copied to clipboard
A powerful and customizable linear progress bar widget for Flutter. Supports linear bars, dots indicators, titled progress, gradients, and animations.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.0.0+2 - 2025-12-26 #
Fixed #
- Fixed all analyzer warnings and linting issues
- Added documentation comments to example app classes
- Fixed raw string usage in JSON encoding functions
- Suppressed false positive constructor ordering warnings
2.0.0+1 - 2025-12-26 #
Fixed #
- Fixed linting issues: removed unnecessary library declaration
- Fixed
prefer_const_declarations: changed static final to static const for deprecated fields - Fixed
omit_local_variable_typesin progress_bar.dart - Fixed
avoid_redundant_argument_valuesin multiple files - Fixed
prefer_const_constructorsin test files - Removed deprecated
package_api_docsrule from analysis_options.yaml (removed in Dart 3.7.0)
Changed #
- Improved code quality by addressing all analyzer warnings and info messages
- Removed unused test function
2.0.0 - 2025-12-21 #
Added #
- Smooth Animations - New
animateProgressproperty for animated progress transitions - Animation Customization -
animationDurationandanimationCurveproperties - Gradient Support - New
progressGradientproperty for beautiful gradient progress bars - Label Types -
LabelTypeenum withtext,percentage,stepCount, andcustomoptions - Label Positioning -
LabelPositionenum withcenter,start,end,top, andbottomoptions - Interactive Dots -
onDotTapcallback for handling dot tap events - Dots Customization -
dotsActiveShape,dotsShape, anddotsReversedproperties - Progress Helpers -
progressValue,progressPercentage, andisCompletegetters - DotsDecorator Enhancements -
copyWith, equality operators, andeffectiveColorgetters - Comprehensive Unit Tests - Full test coverage for all components
- API Documentation - Detailed dartdoc comments for all public APIs
Changed #
- ProgressType Enum - Replaced integer constants with proper
ProgressTypeenum - TitledProgressBar - Now uses const constructor with computed label size
- Improved Null Safety - Better assertions and null handling throughout
- Code Quality - Removed redundant code and improved overall structure
Deprecated #
LinearProgressBar.progressTypeLinear- UseProgressType.linearinsteadLinearProgressBar.progressTypeDots- UseProgressType.dotsinstead
Fixed #
- Fixed DotsIndicator position assertion bug when currentStep equals maxSteps
- Fixed TitledProgressBar non-const constructor issue
- Fixed potential null safety issues in LinearProgressBar
- Fixed redundant code in typeChooser method