LengthLimitingTextInputFormatter class Null safety

Implemented types

Constructors

LengthLimitingTextInputFormatter(int? maxLength, {MaxLengthEnforcement? maxLengthEnforcement})
const
factory
LengthLimitingTextInputFormatter.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$LengthLimitingTextInputFormatterCopyWith<_$LengthLimitingTextInputFormatter>
@JsonKey(ignore: true), read-only
hashCode int
The hash code for this object.
read-only, inherited
maxLength int?
read-only
maxLengthEnforcement MaxLengthEnforcement?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

map<TResult extends Object?>({required TResult lengthLimiting(LengthLimitingTextInputFormatter value), required TResult filtering(FilteringTextInputFormatter value), required TResult filteringAllow(FilteringAllowTextInputFormatter value), required TResult filteringDeny(FilteringDenyTextInputFormatter value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult? lengthLimiting(LengthLimitingTextInputFormatter value)?, TResult? filtering(FilteringTextInputFormatter value)?, TResult? filteringAllow(FilteringAllowTextInputFormatter value)?, TResult? filteringDeny(FilteringDenyTextInputFormatter value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult lengthLimiting(LengthLimitingTextInputFormatter value)?, TResult filtering(FilteringTextInputFormatter value)?, TResult filteringAllow(FilteringAllowTextInputFormatter value)?, TResult filteringDeny(FilteringDenyTextInputFormatter value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult lengthLimiting(int? maxLength, MaxLengthEnforcement? maxLengthEnforcement)?, TResult filtering(String filterPattern, bool allow, String replacementString)?, TResult filteringAllow(String filterPattern, String replacementString)?, TResult filteringDeny(String filterPattern, String replacementString)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult lengthLimiting(int? maxLength, MaxLengthEnforcement? maxLengthEnforcement), required TResult filtering(String filterPattern, bool allow, String replacementString), required TResult filteringAllow(String filterPattern, String replacementString), required TResult filteringDeny(String filterPattern, String replacementString)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult? lengthLimiting(int? maxLength, MaxLengthEnforcement? maxLengthEnforcement)?, TResult? filtering(String filterPattern, bool allow, String replacementString)?, TResult? filteringAllow(String filterPattern, String replacementString)?, TResult? filteringDeny(String filterPattern, String replacementString)?}) → TResult?
@optionalTypeArgs, inherited

Operators

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