developer library

This library can be used to create custom SubProviders.

It allows access to function types and SingleChildWidget.

Classes

SingleChildBuilder
A SingleChildWidget that delegates its implementation to a callback.
SingleChildState<T extends SingleChildStatefulWidget>
A State for SingleChildStatefulWidget.
SingleChildStatefulElement
An Element that uses a SingleChildStatefulWidget as its configuration.
SingleChildStatefulWidget
A StatefulWidget that is compatible with Nested.
SingleChildStatelessElement
An Element that uses a SingleChildStatelessWidget as its configuration.
SingleChildStatelessWidget
A StatelessWidget that implements SingleChildWidget and is therefore compatible with Nested.
SingleChildSubValue<T>
A SubValue that implements SingleChildWidget and is therefore compatible with Nested.
SingleChildWidget
A Widget that takes a single descendant.

Typedefs

SubProviderCreate<T, R> = R Function(BuildContext context, T value)
Called to create the Provider of a SubProvider.
SubProviderCreate2<T, T2, R> = R Function(BuildContext context, T value, T2 value2)
Called to create the Provider of a SubProvider.
SubProviderCreate3<T, T2, T3, R> = R Function(BuildContext context, T value, T2 value2, T3 value3)
Called to create the Provider of a SubProvider.
SubProviderCreate4<T, T2, T3, T4, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4)
Called to create the Provider of a SubProvider.
SubProviderCreate5<T, T2, T3, T4, T5, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5)
Called to create the Provider of a SubProvider.
SubProviderCreate6<T, T2, T3, T4, T5, T6, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6)
Called to create the Provider of a SubProvider.
SubProviderUpdate<T, R> = R Function(BuildContext context, T value, R previous)
Called to update the Provider of a SubProvider.
SubProviderUpdate2<T, T2, R> = R Function(BuildContext context, T value, T2 value2, R previous)
Called to update the Provider of a SubProvider.
SubProviderUpdate3<T, T2, T3, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, R previous)
Called to update the Provider of a SubProvider.
SubProviderUpdate4<T, T2, T3, T4, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, R previous)
Called to update the Provider of a SubProvider.
SubProviderUpdate5<T, T2, T3, T4, T5, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5, R previous)
Called to update the Provider of a SubProvider.
SubProviderUpdate6<T, T2, T3, T4, T5, T6, R> = R Function(BuildContext context, T value, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, R previous)
Called to update the Provider of a SubProvider.