pottery 0.5.0
pottery: ^0.5.0 copied to clipboard
Utility widgets for Pot in Flutter, automatically managing the lifecycle of pots and the objects they hold based on the widget lifecycle.
0.5.0 #
- Update minimum Dart SDK version to 3.6.2.
- Improve
Pottery.startExtension()to do nothing in debug mode. - Improve tables and detail view in DevTools extension.
- Add
maybeOf().- Returns
nullif no relevantLocalPotteryis found. - Note that it also returns
nullif the target object is nullable and its value isnull.
- Returns
- Breaking:
- Change
of()to throw if no relevantLocalPotteryis found.- Use
maybeOf()to getnullinstead.
- Use
- Replace
potsparameter (Map) with type-safeoverrides(List) viaset(). (#14)- Before:
pots: {myPot: () => object)} - After:
overrides: [myPot.set(() => object)]
- Before:
- Trivial changes:
- Remove deprecated
LocalPotteryalias. - Rename
NearestPotOfextension toNearestLocalPotObjectOf.
- Remove deprecated
- Change
0.4.3 #
- Improve performance of
of()by reducing lookup costs. - Bump pot version to 0.8.0.
- Sync with pot internal API update.
0.4.2 #
- Update and improve documentation and examples.
- Update DevTools extension.
0.4.1 #
- Improve DevTools extension to show
objectUpdateevents in events view.
0.4.0 #
- Add
startExtension()to allow to start the DevTools extension manually before usingPotteryorLocalPottery.
0.3.0 #
- Add DevTools extension.
- Use pot 0.7.1.
0.2.0 #
- Breaking
- Rename
ScopedPotterytoLocalPottery. (#7)- This is to avoid it being confused with the scoping feature of package:pot.
ScopedPotterynow exists as an alias, but will be removed.
- Rename
ScopedPotstoLocalPotteryObjects. (#7)- This is the type name of the
builderparameter ofLocalPottery.
- This is the type name of the
- Rename
- Raise the minimum Flutter SDK version to 3.10.0.
0.1.1 #
- Bump pot version to 0.6.0.
0.1.0 #
- Breaking
- Rename
PotsMaptoPotReplacements.
- Rename
- Add
ScopedPottery(#4). - Implement
debugFillProperties(). - Bump pot version to 0.5.0.
- Add new tests to ensure correct behaviours.
- Improve existing tests.
- Improve documentation.
0.0.1+3 #
- Update README and example.
0.0.1+2 #
- Improve README.
0.0.1+1 #
- Change the project structure.
0.0.1 #
- Initial release.
