MaterialInt64ValueAccessor constructor
MaterialInt64ValueAccessor(
- BaseMaterialInput input,
- @Self() NgControl control,
- @Attribute('changeUpdate') String? changeUpdateAttr,
- @Attribute('keypressUpdate') String? keypressUpdateAttr,
- @Attribute('checkInteger') String? checkInteger,
- @Attribute('blurFormat') String? blurFormat,
- @Optional() NumberFormat? numberFormat,
Implementation
MaterialInt64ValueAccessor(
BaseMaterialInput input,
@Self() NgControl control,
@Attribute('changeUpdate') String? changeUpdateAttr,
@Attribute('keypressUpdate') String? keypressUpdateAttr,
@Attribute('checkInteger') String? checkInteger,
@Attribute('blurFormat') String? blurFormat,
@Optional() NumberFormat? numberFormat)
: super(
input as MaterialInputComponent,
control,
attributeToBool(changeUpdateAttr, defaultValue: false),
attributeToBool(keypressUpdateAttr, defaultValue: false),
attributeToBool(blurFormat, defaultValue: false),
numberFormat) {
assert(
_checkValues(
numberFormat, attributeToBool(blurFormat, defaultValue: false)),
'You must supply a NumberFormat if using blurFormat');
}