beamer 1.0.0-nullsafety.7 beamer: ^1.0.0-nullsafety.7 copied to clipboard
A router that lets you navigate through guarded page stacks and URLs using the Navigator 2.0 API effortlessly.
1.0.0-nullsafety.6 #
- Fix non-existent state if not set explicitly
- (slight) Change to a signature of
BeamLocation.createState
, but hopefully no one has used it yet to be affected :)
1.0.0-nullsafety.5 #
- Fix creation of
BeamState
- Add tests and doc comments for
BeamState
1.0.0-nullsafety.4 #
This is a merge of v0.10.0
into `v1.0.0-nullsafety.3.
- BREAKING: Removed most attributes from
BeamLocation
and put them intoBeamLocation.state
- BREAKING: Changed
BeamLocation
constructor to take onlystate
. - Add
RootRouterDelegate
for nested navigation - Add
BeamState
for more declarative experience
1.0.0-nullsafety.3 #
- Add replaceCurrent attribute (default false) to beaming function
- Fix nullability of
BuildContext
inpagesBuilder
- Fix removing last path segment from possibly unmodifiable List
- Fix old information at Guards section in README
1.0.0-nullsafety.2 #
- Fix removing the last empty path segment when it's the only one
1.0.0-nullsafety.1 #
This is a merge of v0.9.0
into v1.0.0-nullsafety.0
so changes can also be seen here at in-between versions: v0.8.0
, v0.8.1
, v0.8.1+1
, v0.8.2
.
- BREAKING:
BeamLocation.pages
is nowBeamLocation.pagesBuilder
- BREAKING:
BeamerRouterDelegate
now takesbeamLocations
andBeamerRouteInformationParser
nothing - NEW FEATURE:
beamToNamed
- NEW FEATURE:
canBeamBack
andbeamBackLocation
helpers - NEW FEATURE: removing duplicates in
beamHistory
+BeamerRouterDelegate.removeDuplicateHistory
- NEW FEATURE: implicit updates of current location +
BeamerRouterDelegate.preferUpdate
- Add
BeamGuard.onCheckFailed
- Add more Beamer extensions to
BuildContext
- Add optional
notFoundRedirect
toBeamerRouterDelegate
- Add
stacked
parameter for beaming - Add more details to README: Key Concepts
- Add invite to Discord community for beamer help/discussion/chat
- Fix parsing URIs in the form
/path/
the same as/path
- Fix README ToC links and typos
1.0.0-nullsafety.0 #
- BREAKING: migrate to nullsafety
0.7.0 #
- BREAKING:
BeamerRouterDelegate.notFoundPage
is nowBeamPage
instead ofWidget
- BREAKING:
BeamGuard.showPage
is nowBeamPage
instead ofWidget
- NEW FEATURE:
beamBack
now goes back throughbeamHistory
- NEW FEATURE:
beamTo
can take an optionalbeamBackOnPop
boolean - NEW FEATURE:
BeamLocation.builder
can be used to provide something to the entire location - NEW EXAMPLE: location_builder
- NEW EXAMPLE: animated_rail
- tweaks and improvements to the documentation
0.6.4+1 #
- Add logo image
0.6.4 #
- Fix static analysis (Pana 0.14.10, Flutter 1.22.6, Dart 2.10.5) problem by not using
maybeOf
0.6.3 #
- Add
name
attribute toBeamPage
- Fix
BeamerRouterDelegate
not notifying listeners onsetNewRoutePath
0.6.2 #
- Add
navigatorObservers
attribute toBeamerRouterDelegate
0.6.1 #
- Add
guardNonMatching
attribute toBeamGuard
0.6.0+1 #
- Fix some mistakes in README
0.6.0 #
- NEW FEATURE: Guards
- NEW FEATURE: Beamer as a Widget (see Bottom Navigation example)
- Add
examples/
for every gif in README - Add state to
Beamer
0.5.0 #
- BREAKING:
*App.router
constructor needs to be used - BREAKING:
String pathBlueprint
is nowList<String> pathBlueprints
- BREAKING:
BeamLocation.withParameters
constructor is removed and all parameters are handled with 1 constructor. See example if you needsuper
. - BREAKING:
BeamPage
'spage
renamed tochild
- NEW FEATURE:
BeamLocation
can support multiple and arbitrary long path blueprints - NEW FEATURE:
notFoundPage
- Add more complex books example
- Add more doc comments
- Remove the need for
routerDelegate
to take locations
0.4.1+1 #
- Add some more badges
0.4.1 #
- Update example not to access state (books) from
BeamLocation
0.4.0 #
- BREAKING:
BeamLocation.pages
must beList<BeamPage>
instead ofList<Page>
- Add
keepPathParametersOnPop
toBeamPage
- Fix
_currentPages
toBeamLocation
parsing when page stack is beyond URI path parameter - Update README
- Cleanup
0.3.0 #
- Add
Beamer.of(context)
for convenience - Add recreation of "official" books example
- Update README
- Cleanup
0.2.0 #
- BREAKING: Beamer must be placed in a
Widget
tree - BREAKING: beaming is now only possible with extension methods on
BuildContext
- BREAKING:
BeamPage.identifier
replaced withBeamPage.key
- Remove
BeamLocation.popLocation
- Add "backwards parse" of URI
- Format pedantically
- Update README with new practices and deep location example
0.1.2 #
- Add dartdoc and tests
0.1.1 #
- Remove widgets from export barrel
0.1.0+1 #
- Add more to pub description
0.1.0 #
- Initial release