BlocProviderFamily<T extends BlocBase, A> class Null safety

A class that allows building a BlocProvider from an external parameter.

Inheritance
Available Extensions
Annotations

Constructors

BlocProviderFamily(T create(ProviderReference ref, A a), {String? name})
A class that allows building a BlocProvider from an external parameter.

Properties

builder → T Function(ProviderReference ref, A param)
Implementation detail. Do not use.
@protectedfinalinherited
debugKeys List<A>?
A debug-only list of all the parameters passed to this family.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
name String?
Implementation detail. Do not use.
@protectedfinalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

call(A value) BlocProvider<T>
Create a provider from an external value.
inherited
create(A value, T builder(ProviderReference ref, A param), String? name) BlocProvider<T>
Creates the provider for a given parameter.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited