flame_riverpod 5.4.1 copy "flame_riverpod: ^5.4.1" to clipboard
flame_riverpod: ^5.4.1 copied to clipboard

Helpers for using Riverpod - a reactive caching and data-binding framework, in conjunction with Flame.

5.4.1 #

  • Update a dependency to the latest release.

5.4.0 #

  • FIX: Resolve logic error with assignment of ComponentRef's game property in flame_riverpod (#3082). (b44011fd)
  • FIX: Resolve breaking changes from Riverpod affecting flame_riverpod (#3080). (e3aaa7c2)
  • FIX: Implement necessary ProviderSubscription getters (#3075). (17da92b2)
  • FEAT: Allow ComponentRef access in RiverpodGameMixin (#3010). (44b10fd6)

5.3.0 #

Note: This release has breaking changes.

  • BREAKING FIX: Migrate from RawKeyEvent to KeyEvent (#3002). (330862c9)

5.2.0 #

5.1.5 #

  • FIX: Change return type of RiverpodComponentMixin.onLoad to FutureOr

5.1.4 #

  • Update a dependency to the latest release.

5.1.3 #

  • FIX: Fix logic inside flame_riverpod persistent frame callback. (#2950). (230fb88f)

5.1.2 #

  • FIX: Package flame_riverpod, setState() or markNeedsBuild() called during build. (#2943). (54d0e95d)

5.1.1 #

  • FIX: Add super constructor fields to RiverpodAwareGameWidget (#2932). (c2e6ea71)

5.1.0 #

  • FIX: SpriteAnimationWidget was resetting the ticker even when the playing didn't changed (#2891). (9aed8b4d)
  • FEAT: Integration of flame_riverpod (#2367). (0c74560b)

5.0.0 #

  • New API with breaking changes. Added [RiverpodAwareGameWidget], [RiverpodGameMixin], [RiverpodComponentMixin]. See the example for details.

4.0.0+2 #

  • Miscellaneous format post-processing on the files.

4.0.0+1 #

  • Miscellaneous tidy-up of package internals.

4.0.0 #

  • Made [WidgetRef] property on [ComponentRef] private. It should not be accessed directly.
  • Removed the [riverpodAwar`eGameProvider]. If required, this is better handled at the application-level.

3.0.0 #

  • Changes to focus on [FlameGame].
    • [riverpodAwareGameProvider] now expects a [FlameGame].
    • Removed the [HasComponentRef] on Game.
    • Renamed [RiverpodComponentMixin] to [HasComponentRef]
  • [HasComponentRef] now has a static setter for a WidgetRef. Components that use the new [HasComponentRef] mixin no longer need to explicitly provide a [ComponentRef].
  • Renamed the [WidgetRef] property on the [ComponentRef] to [widgetRef].
  • Updated Example to reflect changes.
  • Updated README to reflect changes.

2.0.0 #

  • Pruned the public API, removing custom widget definitions (these have now been defined inside the example for reference)
  • Renamed [RiverpodAwareGameMixin] -> [HasComponentRef] to bring closer to the Flame 'house-style' for mixins.

1.1.0+2 #

  • Another correction to README and example code. onMount should not call super.onLoad.

1.1.0+1 #

  • Correction to README to reflect API change.

1.1.0 #

  • Added [RiverpodComponentMixin] to handle disposing of [ProviderSubscription]s.
  • Correction to the [RiverpodGameWidget] initializeGame constructor - param is now [RiverpodAwareGameMixin Function (ref)] as originally intended.

1.0.0+1 #

  • Reduced package description length.
  • Ran dart format.

1.0.0 #

  • Initial release.
    • ComponentRef
    • riverpodAwareGameProvider
    • RiverpodAwareFlameGame
    • RiverpodAwareGame
    • RiverpodGameWidget
20
likes
140
pub points
83%
popularity

Publisher

verified publisherflame-engine.org

Helpers for using Riverpod - a reactive caching and data-binding framework, in conjunction with Flame.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

opencollective.com
github.com
patreon.com

License

MIT (LICENSE)

Dependencies

flame, flutter, flutter_riverpod, riverpod

More

Packages that depend on flame_riverpod