inputDecoratorBackgroundAlpha property

int? inputDecoratorBackgroundAlpha
final

Defines the alpha, opacity channel value used as opacity on effective InputDecorator background color.

If defined, the valid range is 0 to 255 (0x00 to 0xFF), if out of bounds it is capped at closer value.

If not defined, in M3 mode it defaults to 0xFF fully opaque. In M2 mode defaults to kFillColorAlphaLight (0x0D = 5% opacity) in light theme and to kFillColorAlphaDark (0x14 = 8% opacity) in dark mode.

The border inputDecoratorBorderSchemeColor can be used to define the border color separately, but it defaults to this color if not defined.

Implementation

final int? inputDecoratorBackgroundAlpha;