customLayer property

Image? customLayer
final

customLayer

const WindDirectionGauge(
  customLayer : [Section(30, 40, Colors.lightGreen), Section(40, 50, Colors.yellow.withOpacity(0.5))]
),

Implementation

final ui.Image? customLayer;