$FOtpFieldItemStyleTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({DecorationDelta? decoration, TextStyleDelta? contentTextStyle}) FOtpFieldItemStyle

Available on FOtpFieldItemStyle, provided by the $FOtpFieldItemStyleTransformations extension

Returns a copy of this FOtpFieldItemStyle with the given properties replaced.
lerp(FOtpFieldItemStyle other, double t) FOtpFieldItemStyle

Available on FOtpFieldItemStyle, provided by the $FOtpFieldItemStyleTransformations extension

Linearly interpolate between this and another FOtpFieldItemStyle using the given factor t.