Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2021-08-09 08:38:25 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aea06656a1272f45d19b18c29d7fe79c09d6c2af
aea06656
1 parent
2ca46707
update to 4.3.5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
7 deletions
CHANGELOG.md
lib/get_instance/src/extension_instance.dart
lib/get_instance/src/get_instance.dart
lib/get_navigation/src/extension_navigation.dart
lib/get_utils/src/get_utils/get_utils.dart
pubspec.yaml
CHANGELOG.md
View file @
aea0665
## [4.3.5]
-
Fix GetConnect timeout (@jasonlaw)
-
Improve Vietnamese docs (@hp1909)
-
Refactor placeholder name route to unnamed routes (@roipeker).
-
Fix: Navigate to a page identical to Get.offNamed.
-
Fix: Wrong nameRoute after a route is removed
-
Added assert to prevent the user from starting a route name without slash.
## [4.3.4]
-
Improve docs
...
...
lib/get_instance/src/extension_instance.dart
View file @
aea0665
...
...
@@ -92,8 +92,8 @@ extension Inst on GetInterface {
/// Clears all registered instances (and/or tags).
/// Even the persistent ones.
///
/// - [clearFactory] clears the callbacks registered by `Get.lazyPut()`
/// - [clearRouteBindings] clears Instances associated with Routes when using
/// - `clearFactory` clears the callbacks registered by `Get.lazyPut()`
/// - `clearRouteBindings` clears Instances associated with Routes when using
/// [GetMaterialApp].
// bool reset(
// {@deprecated bool clearFactory = true,
...
...
@@ -145,7 +145,7 @@ extension Inst on GetInterface {
}
/// Replaces a parent instance with a new Instance<P> lazily from the
///
[<P>builder()]
callback.
///
`<P>builder()`
callback.
/// - [tag] optional, if you use a [tag] to register the Instance.
/// - [fenix] optional
///
...
...
lib/get_instance/src/get_instance.dart
View file @
aea0665
...
...
@@ -316,8 +316,8 @@ class GetInstance {
/// Even the persistent ones.
/// This should be used at the end or tearDown of unit tests.
///
/// [clearFactory] clears the callbacks registered by [lazyPut]
/// [clearRouteBindings] clears Instances associated with routes.
/// `clearFactory` clears the callbacks registered by [lazyPut]
/// `clearRouteBindings` clears Instances associated with routes.
///
bool
resetInstance
(
{
@deprecated
bool
clearFactory
=
true
,
bool
clearRouteBindings
=
true
})
{
...
...
lib/get_navigation/src/extension_navigation.dart
View file @
aea0665
...
...
@@ -1016,6 +1016,7 @@ you can only use widgets and widget functions here''';
/// `() => MyHomeScreenView` becomes `/my-home-screen-view`.
String
_cleanRouteName
(
String
name
)
{
name
=
name
.
replaceAll
(
'() => '
,
''
);
/// uncommonent for URL styling.
// name = name.paramCase!;
if
(!
name
.
startsWith
(
'/'
))
{
...
...
lib/get_utils/src/get_utils/get_utils.dart
View file @
aea0665
...
...
@@ -583,7 +583,8 @@ class GetUtils {
return
null
;
}
return
_groupIntoWords
(
text
!)
.
map
((
word
)
=>
word
.
toLowerCase
()).
join
(
separator
);
.
map
((
word
)
=>
word
.
toLowerCase
())
.
join
(
separator
);
}
/// param-case
...
...
pubspec.yaml
View file @
aea0665
name
:
get
description
:
Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX.
version
:
4.3.
4
version
:
4.3.
5
homepage
:
https://github.com/jonataslaw/getx
environment
:
...
...
Please
register
or
login
to post a comment