MaterialInt64ValueAccessor constructor

MaterialInt64ValueAccessor(
  1. BaseMaterialInput input,
  2. @Self() NgControl control,
  3. @Attribute('changeUpdate') String? changeUpdateAttr,
  4. @Attribute('keypressUpdate') String? keypressUpdateAttr,
  5. @Attribute('checkInteger') String? checkInteger,
  6. @Attribute('blurFormat') String? blurFormat,
  7. @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');
}