- BREAKING: replace deprecated
WillPopScope
withPopScope
- refactor: update dart sdk constrant to
>=3.2.0
- refactor: update flutter constraint to
>=3.16.0
- refactor: update dart sdk constrant to
- refactor: update lint rules
- chore: update copyright year
- chore: update example (including native platforms)
- feat: add optional
clipBehavior
(#113) - refactor: update to Flutter 3.13.9
- fix: cannot pop with Android back button
- fix: add dart sdk constraint >=2.17.0
- refactor: remove null-aware operand
- chore(example): upgrade platforms
- fix: removeListener when FlowController has been completed (#73)
- BREAKING: refactor:
FlowController.state
setter removed in favor ofupdate
(#61) - fix:
FlowController
notification updates to improve back/forth navigation viaBackButton
(#61) - fix: intellisense on
update
to include state argument (#64)- introduce FlowCallback typedef to improve readability and reusability
- Thanks @narcodico for the contribution
- fix: intellisense on
OnGeneratePages
(#72)- Thanks @Lootwig for the contribution
- refactor: decouple
FlowController
fromFlowBuilder
- refactor: organize imports and minor updates
- fix: super call enforcement on listeners
- fix: respect top-level
WillPopScope
- A top-level
WillPopScope
can be added to prevent popping the first page in a flow
- A top-level
- fix: don't lose system push events and pass them to WidgetsBindings
- fix: android back button pops the whole flow instead of popping pushed routes
- feat: add web/desktop support to example app
- BREAKING: feat!: added support for null-safety
- feat:
FlowBuilder
supportsList<NavigatorObserver>
- docs: update example to include custom page transitions
- docs: update example to include hero animations
- BREAKING: feat!: added support for null-safety
- fix: invoke
SystemNavigator.pop()
whenFlowBuilder
is at root- fixes cases where system back button presses result in a black screen on Android
- fix:
FakeFlowController
supportscomplete
with no callback
- feat: flow controller listenable
- BREAKING feat!: remove
Update
andComplete
typedefs - feat: update
FlowController
to have a public constructor - feat:
FlowBuilder
requires eitherstate
orcontroller
- feat:
FlowController
exposesstate
,addListener
,removeListener
, anddispose
- fix: support hardware back functionality on Android within nested flows
- docs: update
README
to include additional information aroundFlowController
usage
- feat: add
FakeFlowController<T>
for verifying flow interactions
- feat:
FlowBuilder
accepts an optionalFlowController<T>
- feat: throw
FlutterError
whencontext.flow
is called outside of aFlowBuilder
- BREAKING: update
onGeneratePages
to include previouspages
- feat: add
onComplete
- docs: fix README badges (CORS)
- BREAKING: replace
builder
withonGeneratePages
- fix: navigation animation
- fix: system back navigation
- fix: pop after external state change exception
- test: 100% coverage
- feat!: remove explicit
FlowController
frombuilder
- feat: initial release of
FlowBuilder