chenenyu / lifecycle

Lifecycle support for Flutter widgets.
https://pub.dev/packages/lifecycle
Apache License 2.0
50 stars 6 forks source link

Feature: Implement getter for LifecycleAware current state #16

Closed AlexShniperson-INO closed 2 years ago

AlexShniperson-INO commented 2 years ago

Hi

Could you please implement getter for LifecycleAware of _currentLifecycleState ? Otherwise every extend from LifecycleAware needs to override method onLifecycleEvent and store current state locally

chenenyu commented 2 years ago

0.4.2