Showing
6 changed files
with
17 additions
and
7 deletions
1 | +## [4.3.5] | ||
2 | +- Fix GetConnect timeout (@jasonlaw) | ||
3 | +- Improve Vietnamese docs (@hp1909) | ||
4 | +- Refactor placeholder name route to unnamed routes (@roipeker). | ||
5 | +- Fix: Navigate to a page identical to Get.offNamed. | ||
6 | +- Fix: Wrong nameRoute after a route is removed | ||
7 | +- Added assert to prevent the user from starting a route name without slash. | ||
8 | + | ||
1 | ## [4.3.4] | 9 | ## [4.3.4] |
2 | - Improve docs | 10 | - Improve docs |
3 | 11 |
@@ -92,8 +92,8 @@ extension Inst on GetInterface { | @@ -92,8 +92,8 @@ extension Inst on GetInterface { | ||
92 | /// Clears all registered instances (and/or tags). | 92 | /// Clears all registered instances (and/or tags). |
93 | /// Even the persistent ones. | 93 | /// Even the persistent ones. |
94 | /// | 94 | /// |
95 | - /// - [clearFactory] clears the callbacks registered by `Get.lazyPut()` | ||
96 | - /// - [clearRouteBindings] clears Instances associated with Routes when using | 95 | + /// - `clearFactory` clears the callbacks registered by `Get.lazyPut()` |
96 | + /// - `clearRouteBindings` clears Instances associated with Routes when using | ||
97 | /// [GetMaterialApp]. | 97 | /// [GetMaterialApp]. |
98 | // bool reset( | 98 | // bool reset( |
99 | // {@deprecated bool clearFactory = true, | 99 | // {@deprecated bool clearFactory = true, |
@@ -145,7 +145,7 @@ extension Inst on GetInterface { | @@ -145,7 +145,7 @@ extension Inst on GetInterface { | ||
145 | } | 145 | } |
146 | 146 | ||
147 | /// Replaces a parent instance with a new Instance<P> lazily from the | 147 | /// Replaces a parent instance with a new Instance<P> lazily from the |
148 | - /// [<P>builder()] callback. | 148 | + /// `<P>builder()` callback. |
149 | /// - [tag] optional, if you use a [tag] to register the Instance. | 149 | /// - [tag] optional, if you use a [tag] to register the Instance. |
150 | /// - [fenix] optional | 150 | /// - [fenix] optional |
151 | /// | 151 | /// |
@@ -316,8 +316,8 @@ class GetInstance { | @@ -316,8 +316,8 @@ class GetInstance { | ||
316 | /// Even the persistent ones. | 316 | /// Even the persistent ones. |
317 | /// This should be used at the end or tearDown of unit tests. | 317 | /// This should be used at the end or tearDown of unit tests. |
318 | /// | 318 | /// |
319 | - /// [clearFactory] clears the callbacks registered by [lazyPut] | ||
320 | - /// [clearRouteBindings] clears Instances associated with routes. | 319 | + /// `clearFactory` clears the callbacks registered by [lazyPut] |
320 | + /// `clearRouteBindings` clears Instances associated with routes. | ||
321 | /// | 321 | /// |
322 | bool resetInstance( | 322 | bool resetInstance( |
323 | {@deprecated bool clearFactory = true, bool clearRouteBindings = true}) { | 323 | {@deprecated bool clearFactory = true, bool clearRouteBindings = true}) { |
@@ -1016,6 +1016,7 @@ you can only use widgets and widget functions here'''; | @@ -1016,6 +1016,7 @@ you can only use widgets and widget functions here'''; | ||
1016 | /// `() => MyHomeScreenView` becomes `/my-home-screen-view`. | 1016 | /// `() => MyHomeScreenView` becomes `/my-home-screen-view`. |
1017 | String _cleanRouteName(String name) { | 1017 | String _cleanRouteName(String name) { |
1018 | name = name.replaceAll('() => ', ''); | 1018 | name = name.replaceAll('() => ', ''); |
1019 | + | ||
1019 | /// uncommonent for URL styling. | 1020 | /// uncommonent for URL styling. |
1020 | // name = name.paramCase!; | 1021 | // name = name.paramCase!; |
1021 | if (!name.startsWith('/')) { | 1022 | if (!name.startsWith('/')) { |
@@ -583,7 +583,8 @@ class GetUtils { | @@ -583,7 +583,8 @@ class GetUtils { | ||
583 | return null; | 583 | return null; |
584 | } | 584 | } |
585 | return _groupIntoWords(text!) | 585 | return _groupIntoWords(text!) |
586 | - .map((word) => word.toLowerCase()).join(separator); | 586 | + .map((word) => word.toLowerCase()) |
587 | + .join(separator); | ||
587 | } | 588 | } |
588 | 589 | ||
589 | /// param-case | 590 | /// param-case |
1 | name: get | 1 | name: get |
2 | description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. | 2 | description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. |
3 | -version: 4.3.4 | 3 | +version: 4.3.5 |
4 | homepage: https://github.com/jonataslaw/getx | 4 | homepage: https://github.com/jonataslaw/getx |
5 | 5 | ||
6 | environment: | 6 | environment: |
-
Please register or login to post a comment