gg_value 1.6.3
gg_value: ^1.6.3 copied to clipboard
GgValue allows managing a value in a dart application. It provides a stream, a flag preventing too many updates, and a custom transform and a comparison function.
Changelog #
1.6.3 - 2024-04-13 #
Removed #
- dependency to gg_install_gg, remove ./check script
- dependency to gg_install_gg, remove ./check script
- dependency pana
1.6.1 - 2024-04-09 #
Changed #
- Rework changelog + repository URL in pubspec.yaml
- 'Github Actions Pipeline'
- 'Github Actions Pipeline: Add SDK file containing flutter into .github/workflows to make github installing flutter and not dart SDK'
1.6.0 - 2024-01-01 #
- Update minimum SDK version
- Update check scripts & VSCode settings
- Fix warnings
1.5.2 - 2024-01-01 #
- Fix a bug when moving list items
1.5.0 - 2024-01-01 #
- Add
changeStreamproviding detailed information about changes - Add
GgListValueincl.add,removeAt,remove,insertAfter,insertBefore,move. - Add
isOkcallback to prevent assignments in the wrong range. - Add
syncStreamto get a synchronous stream of events
1.3.6 - 2024-01-01 #
- Add
syncandunsyncto sync multiple values with each other. - Add
forceUpdateto send the current value to listeners again
1.2.0 - 2024-01-01 #
resetcan be called to set value back to seed
1.1.0 - 2024-01-01 #
GgValue.stream.mapwas added.- In many cases, consumers of
GgValueshould only read but not write. To enforce this,GgReadOnlyValueis introduced. - Instead of
Stream<T>,GgValue<T>returns aGgValueStream<T>, which offers direct access to the last set value. GgValue.stream.mapwas added.- Added
set jsonDecodedValueto assign values decoded from json - Added
get jsonDecodedValueto assign values decoded from json - Renamed
toStringconstructor parameter intostringify. - Added
toString()method. - Added optional
nameconstructor parameter - String processing is working for dynamic types also
- Fixed: Once
disposewas called, instances ofGgValuewill not emit any updates anymore.
1.0.2 - 2024-01-01 #
- When used with custom types, no
parseandtoStringfunction needs to be specified. An exception will by thrown onlystringValueis used.
1.0.1 - 2024-01-01 #
- Parse an generate bool strings
- Updated documentation
- Provided example
1.0.0 - 2024-01-01 #
- Parse strings into GgValue
- Turn GgValue into strings
0.0.9+4 - 2024-01-01 #
- Moved source code to https://github.com/inlavigo/gg_value
0.0.9+2 - 2024-01-01 #
- Fixed dart package conventions.
0.0.9+1 - 2024-01-01 #
- Initial version.