BMFText.iOS constructor
- {required String text,
- required BMFCoordinate position,
- Color? bgColor,
- Color? fontColor = Colors.blue,
- int? fontSize = 12,
- BMFTypeFace? typeFace,
- double? rotate = 0,
- double? paragraphSpacing = 2,
- int? maxLineWidth,
- int? lineSpacing = 4,
- BMFTextAlignment? alignment = BMFTextAlignment.center,
- BMFTextLineBreakMode? lineBreakMode = BMFTextLineBreakMode.charWrapping,
- int? startLevel = 4,
- int? endLevel = 21,
- int zIndex = 0,
- bool visible = true,
- Map? customMap}
BMFText-iOS构造方法
Implementation
BMFText.iOS({
required this.text,
required this.position,
this.bgColor,
this.fontColor = Colors.blue,
this.fontSize = 12,
this.typeFace,
this.rotate = 0,
this.paragraphSpacing = 2,
this.maxLineWidth,
this.lineSpacing = 4,
this.alignment = BMFTextAlignment.center,
this.lineBreakMode = BMFTextLineBreakMode.charWrapping,
this.startLevel = 4,
this.endLevel = 21,
int zIndex = 0,
bool visible = true,
Map? customMap,
}) : super(zIndex: zIndex, visible: visible, customMap: customMap);