Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -27,7 +27,7 @@ abstract class Bindings { | @@ -27,7 +27,7 @@ abstract class Bindings { | ||
| 27 | /// ``` | 27 | /// ``` | 
| 28 | class BindingsBuilder<T> extends Bindings { | 28 | class BindingsBuilder<T> extends Bindings { | 
| 29 | /// Register your dependencies in the [builder] callback. | 29 | /// Register your dependencies in the [builder] callback. | 
| 30 | - final void Function() builder; | 30 | + final BindingBuilderCallback builder; | 
| 31 | 31 | ||
| 32 | /// Shortcut to register 1 Controller with Get.put(), | 32 | /// Shortcut to register 1 Controller with Get.put(), | 
| 33 | /// Prevents the issue of the fat arrow function with the constructor. | 33 | /// Prevents the issue of the fat arrow function with the constructor. | 
| @@ -62,4 +62,4 @@ class BindingsBuilder<T> extends Bindings { | @@ -62,4 +62,4 @@ class BindingsBuilder<T> extends Bindings { | ||
| 62 | // typedef Snack = Function(); | 62 | // typedef Snack = Function(); | 
| 63 | // typedef Modal = Function(); | 63 | // typedef Modal = Function(); | 
| 64 | // typedef Route = Function(); | 64 | // typedef Route = Function(); | 
| 65 | -//typedef VoidCallback = void Function(); | 65 | +typedef BindingBuilderCallback = void Function(); | 
- 
Please register or login to post a comment