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-09-29 05:32:31 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-09-29 05:32:31 -0300
Commit
6f9515669b8a841a2cb7bbdf990a44c42729ae63
6f951566
1 parent
add4a801
Update bindings_interface.dart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
packages/get_instance/lib/src/bindings_interface.dart
packages/get_instance/lib/src/bindings_interface.dart
View file @
6f95156
...
...
@@ -27,7 +27,7 @@ abstract class Bindings {
/// ```
class
BindingsBuilder
<
T
>
extends
Bindings
{
/// Register your dependencies in the [builder] callback.
final
VoidCallback
builder
;
final
void
Function
()
builder
;
/// Shortcut to register 1 Controller with Get.put(),
/// Prevents the issue of the fat arrow function with the constructor.
...
...
@@ -62,4 +62,4 @@ class BindingsBuilder<T> extends Bindings {
// typedef Snack = Function();
// typedef Modal = Function();
// typedef Route = Function();
typedef
VoidCallback
=
void
Function
();
//
typedef VoidCallback = void Function();
...
...
Please
register
or
login
to post a comment