shape property

  1. @override
ShapeBorder? shape
final

The item's shape, only applied when outside an FItemGroup or other similar groups.

┌─ shape ──────────────────────────────┐
│  backgroundColor     ↕ padding       │
│  ┌─ contentDecoration ─────────────┐ │
│  │  content                        │ │
│  └─────────────────────────────────┘ │
└──────────────────────────────────────┘

Implementation

@override
final ShapeBorder? shape;