IntValueAccessor class Null safety

Represents a control value accessor that convert between data types int and String.

Inheritance

Constructors

IntValueAccessor()

Properties

control FormControl<int>?
Gets the control bind to this value accessor.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Disposes the value accessors.
@mustCallSuper, inherited
modelToViewValue(int? modelValue) String
Returns the value that must be supplied to the UI widget. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
registerControl(FormControl<int> control, {ChangeFunction<String>? onChange}) → void
Registers a the control with the value accessor. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateModel(String? viewValue) → void
Updates the control with the provided value. [...]
inherited
viewToModelValue(String? viewValue) int?
Returns the value that must be supplied to the control. [...]
override

Operators

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