CustomCap constructor
const
CustomCap(
- BitmapDescriptor bitmapDescriptor, {
- double refWidth = 10,
bitmapDescriptor
must not be null.
refWidth
is the reference stroke width (in pixels) - the stroke width for which
the cap bitmap at its native dimension is designed. Must be positive. Default value
is 10 pixels.
Implementation
const CustomCap(this.bitmapDescriptor, {this.refWidth = 10})
: super._(CapType.custom);