get_state_manager/get_state_manager
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
GetMaterialApp
, all GetPage
s and navigation
methods (like Get.to()) have a binding
property that takes an
instance of Bindings to manage the
dependencies() (via Get.put()) for the Route you are opening.
-
Binds
-
-
CustomStatus<T>
-
-
EmptyStatus<T>
-
-
ErrorStatus<T, S>
-
-
FullLifeCycleController
-
A controller with super lifecycles (including native lifecycles)
-
GetBuilder<T extends GetxController>
-
-
GetListenable<T>
-
-
GetNotifier<T>
-
GetNotifier has a native status and state implementation, with the
Get Lifecycle
-
GetResponsiveView<T>
-
Extend this widget to build responsive view.
this widget contains the
screen
property that have all
information about the screen size and type.
You have two options to build it.
1- with builder
method you return the widget to build.
2- with methods desktop
, tablet
,phone
, watch
. the specific
method will be built when the screen type matches the method
when the screen is ScreenType.Tablet
the tablet
method
will be exuded and so on.
Note if you use this method please set the
property alwaysUseBuilder
to false
With settings
property you can set the width limit for the screen types.
-
GetResponsiveWidget<T extends GetLifeCycleMixin>
-
-
GetStatus<T>
-
-
GetView<T>
-
GetView is a great way of quickly access your Controller
without having to call Get.find
-
GetWidget<S extends GetLifeCycleMixin>
-
GetWidget is a great way of quickly access your individual Controller
without having to call Get.find
-
GetX<T extends GetLifeCycleMixin>
-
-
GetxController
-
-
GetXState<T extends GetLifeCycleMixin>
-
-
LoadingStatus<T>
-
-
Observer
-
-
Obx
-
The simplest reactive widget in GetX.
-
ObxElement
-
-
ObxStatelessWidget
-
A StatelessWidget than can listen reactive changes.
-
ObxValue<T extends RxInterface>
-
Similar to Obx, but manages a local state.
Pass the initial data in constructor.
Useful for simple local states, like toggles, visibility, themes,
button states, etc.
Sample:
ObxValue((data) => Switch(
value: data.value,
onChanged: (flag) => data.value = flag,
),
false.obs,
),
-
ObxWidget
-
The ObxWidget is the base for all GetX reactive widgets
-
ResponsiveScreen
-
-
ResponsiveScreenSettings
-
-
RxController
-
A clean controller to be used with only Rx variables
-
StateController<T>
-
A recommended way to use Getx with Future fetching
-
SuccessStatus<T>
-
-
SuperController<T>
-
A controller with super lifecycles (including native lifecycles)
and StateMixins
-
Value<T>
-
-
ValueBuilder<T>
-
Manages a local state like ObxValue, but uses a callback instead of
a Rx value.
-
ValueBuilderState<T>
-