label property

Widget? label
final

Widget to display as a label for the switch.

Typically a Text widget describing the switch's function. Positioned to the right in LTR direction.

Implementation

final Widget? label;