CanvasText constructor
CanvasText({})
Implementation
factory CanvasText({
void Function(
_i2.String,
_i2.num,
_i2.num, [
_i2.num?,
])? fillText,
_i3.TextMetrics Function(_i2.String)? measureText,
void Function(
_i2.String,
_i2.num,
_i2.num, [
_i2.num?,
])? strokeText,
}) =>
CanvasText._(
fillText: fillText == null ? null : _i4.allowInterop(fillText),
measureText: measureText == null ? null : _i4.allowInterop(measureText),
strokeText: strokeText == null ? null : _i4.allowInterop(strokeText),
);