buttonWidth property

double? buttonWidth
final

Explicit width of the trigger button.

When null (default):

  • Icon-only buttons (label == null || label!.isEmpty) default to 44.0.
  • Labeled buttons size intrinsically to fit their icon + label with horizontal capsule padding (constrained to at least buttonHeight).

Implementation

final double? buttonWidth;