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
2020-05-22 23:53:00 -0300
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-05-22 23:53:00 -0300
Commit
c52fa8b3794c4d0e2ec7ee983086a6ef3b7bc001
c52fa8b3
2 parents
e49bce31
979ca9d6
Merge pull request #133 from rochadaniel/master
Fix isRegistered 'name' param
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
lib/src/get_main.dart
pubspec.yaml
lib/src/get_main.dart
View file @
c52fa8b
...
...
@@ -692,7 +692,7 @@ class Get {
/// Find a instance from required class
static
S
find
<
S
>({
String
name
,
_FcBuilderFunc
<
S
>
instance
})
{
if
(
Get
.
isRegistred
<
S
>())
{
if
(
Get
.
isRegistred
<
S
>(
name:
name
))
{
String
key
=
_getKey
(
S
,
name
);
_FcBuilder
builder
=
Get
().
_singl
[
key
];
if
(
builder
==
null
)
{
...
...
pubspec.yaml
View file @
c52fa8b
name
:
get
description
:
Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
version
:
2.5.
8
version
:
2.5.
9
homepage
:
https://github.com/jonataslaw/get
environment
:
...
...
Please
register
or
login
to post a comment