PrefsAnnotation class
Properties
-
changeNotifier
→ bool
-
Indicates whether the generated class should extend
ChangeNotifier
class, which is used for state management. Default value is true
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
map
→ Map<String, Object>
-
Keys of map are converted to properties. So they must be valid property names.
final
-
onlyModifier
→ bool
-
Indicates whether this class is the only manager of the given preferences. Default value is
true
final
-
providerExtensionMethods
→ bool
-
Indicates whether extension methods should be created for
provider
on BuildContext. Default value is false
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
toggleMethodForBoolValues
→ bool
-
Indicates whether toggle methods should be created for bool values. Default value is
true
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited