TextFieldLabelScope


Scope for the label of a TextField or OutlinedTextField.

Summary

Public properties

Float

The animation progress of a label between its expanded and minimized sizes, where 0 represents an expanded label and 1 represents a minimized label.

Cmn

Public properties

labelMinimizedProgress

val labelMinimizedProgressFloat

The animation progress of a label between its expanded and minimized sizes, where 0 represents an expanded label and 1 represents a minimized label.

Label animation is handled by the framework when using a component that reads from LocalTextStyle, such as the default Text. This labelMinimizedProgress value can be used to coordinate other animations in conjunction with the default animation.