prefixIconSpacing property

  1. @override
double prefixIconSpacing
final

The horizontal spacing between the prefix icon and title and the subtitle. Defaults to 8.

┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
│  ↕ suffixedPadding/unsuffixedPadding                                                                │
│  [prefix] ← prefixIconSpacing → [title] ← middleSpacing → [details] ← suffixIconSpacing → [suffix]  │
│                                 ↕ titleSpacing                                                      │
│                                 [subtitle]                                                          │
└─────────────────────────────────────────────────────────────────────────────────────────────────────┘

Contract

Throws AssertionError if prefixIconSpacing is negative.

Implementation

@override
final double prefixIconSpacing;