useMaterialStatesController function
MaterialStatesController
useMaterialStatesController({
- Set<
MaterialState> ? values, - List<
Object?> ? keys,
Creates a MaterialStatesController that will be disposed automatically.
See also:
Implementation
MaterialStatesController useMaterialStatesController({
Set<MaterialState>? values,
List<Object?>? keys,
}) {
return use(
_MaterialStatesControllerHook(
values: values,
keys: keys,
),
);
}