SolidStrokeSymbolLayer constructor

SolidStrokeSymbolLayer({
  1. double width = 5.333333492279053,
  2. Color color = Colors.black,
  3. List<GeometricEffect> geometricEffects = const [],
  4. StrokeSymbolLayerLineStyle3D lineStyle3D = StrokeSymbolLayerLineStyle3D.strip,
})

Create a solid stroke symbol layer with width, color, geometric effects and 3D line style.

Create a solid stroke symbol layer with a stroke width, a color, a collection of geometric effects, and a 3D line style. The function sets the width, color, geometric effects, and 3D line style on the newly-created solid stroke. Stroke caps default to 'round'.

Parameters:

  • width — The desired width for the symbol layer.
  • color — The desired color for the symbol layer.
  • geometricEffects — The effects to be applied to the symbol layer, e.g., dash patterns.
  • lineStyle3D — The desired 3D line style.