BMFText.iOS constructor

BMFText.iOS(
  1. {required String text,
  2. required BMFCoordinate position,
  3. Color? bgColor,
  4. Color? fontColor = Colors.blue,
  5. int? fontSize = 12,
  6. BMFTypeFace? typeFace,
  7. double? rotate = 0,
  8. double? paragraphSpacing = 2,
  9. int? maxLineWidth,
  10. int? lineSpacing = 4,
  11. BMFTextAlignment? alignment = BMFTextAlignment.center,
  12. BMFTextLineBreakMode? lineBreakMode = BMFTextLineBreakMode.charWrapping,
  13. int? startLevel = 4,
  14. int? endLevel = 21,
  15. int zIndex = 0,
  16. bool visible = true,
  17. 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);