june library

Classes

Bind<T>
BindElement<T>
The BindElement is responsible for injecting dependencies into the widget tree so that they can be observed
Binder<T>
Binding
Binding should be extended. When using JuneMaterialApp, all JunePages and navigation methods (like June.to()) have a binding property that takes an instance of Connections to manage the dependencies() (via June.put()) for the Route you are opening.
Binds
Connections
Connections should be extended or implemented. When using JuneMaterialApp, all JunePages and navigation methods (like June.to()) have a binding property that takes an instance of Connections to manage the dependencies() (via June.put()) for the Route you are opening.
ConnectionsInterface<T>
Engine
FullLifeCycleController
A clean controller to be used with only Rx variables A controller with super lifecycles (including native lifecycles)
InstanceDetails
JuneBuilder<T extends JuneState>
JuneInterface
JuneInterface allows any auxiliary package to be merged into the "June" class through extensions
JuneService
Unlike JuneState, which serves to control events on each of its pages, JuneService is not automatically disposed (nor can be removed with June.delete()). It is ideal for situations where, once started, that service will remain in memory, such as Auth control for example. Only way to remove it is June.reset().
JuneState
Observer
ObxElement
ObxStatelessWidget
A StatelessWidget than can listen reactive changes.
RouterReportManager<T>
StateBuilder<T>
Manages a local state like ObxValue, but uses a callback instead of a Rx value.
StateBuilderState<T>

Enums

IntelligentManagement
JuneX by default disposes unused controllers from memory, Through different behaviors. IntelligentManagement.full IntelligentManagement.full is the default one. Dispose classes that are not being used and were not set to be permanent. In the majority of the cases you will want to keep this config untouched. If you new to JuneX then don't change this. IntelligentManagement.onlyBuilder only controllers started in init: or loaded into a Binding with June.lazyPut() will be disposed. If you use June.put() or June.putAsync() or any other approach, IntelligentManagement will not have permissions to exclude this dependency. With the default behavior, even widgets instantiated with "June.put" will be removed, unlike IntelligentManagement.onlyBuilders. IntelligentManagement.keepFactoryJust like IntelligentManagement.full, it will remove it's dependencies when it's not being used anymore. However, it will keep their factory, which means it will recreate the dependency if you need that instance again.

Mixins

DragMixin
this mixin allow to fetch data when the scroll is at the bottom or on the top
FullLifeCycleMixin
JuneLifeCycleMixin
The JuneLifeCycle
JuneServiceMixin
Allow track difference between JuneServices and JuneStates
StatelessObserverComponent
a Component that can track changes in a reactive variable

Properties

June → _JuneImpl
final

Functions

obscure<T>(T? value) → T?
This allows a value of type T or T? to be treated as a value of type T?.

Typedefs

AdapterCallback = void Function()
AsyncBuilderPattern<S> = Future<S> Function()
BuilderPattern<S> = S Function()
InitBuilder<T> = T Function()
InstanceCreateBuilderCallback<S> = S Function(BuildContext _)
JuneStateBuilder<T extends JuneLifeCycleMixin> = Widget Function(T controller)
StateBuilderBuilder<T> = Widget Function(T snapshot, StateUpdateFunction<T> updater)
StateUpdateFunction<T> = void Function(T snapshot)
StateUpdater<T> = T Function()

Exceptions / Errors

BindError<T>