label property

Widget? label
final

A custom widget for the floating label, used instead of labelText for full control (e.g. an icon + text). It is positioned and floated the same way; plain Text descendants still pick up CustomDropdownDecoration's labelStyle / floatingLabelStyle unless you style them explicitly.

Implementation

final Widget? label;