TextBoxComponent<T extends TextRenderer> constructor
TextBoxComponent<T extends TextRenderer> ({})
Implementation
TextBoxComponent({
super.text,
T? super.textRenderer,
TextBoxConfig? boxConfig,
Anchor? align,
double? pixelRatio,
super.position,
super.size,
super.scale,
super.angle,
super.anchor,
super.children,
super.priority,
this.onComplete,
super.key,
}) : _boxConfig = boxConfig ?? const TextBoxConfig(),
_fixedSize = size != null,
align = align ?? Anchor.topLeft,
pixelRatio = pixelRatio ??
PlatformDispatcher.instance.views.first.devicePixelRatio;