flame-engine / flame-engine/flame
Any possible way to set maxLines of Text in Flame?
Open
enhancement
- Dominant language
- Dart
- Stars
- 10.8k
- Forks
- 1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 21
Description
I've tried using TextComponent and TextBoxComponent but I still cannot find any solution to set the line number of a text.
I tried the following textRenderer, still not worked:
```dart
textRenderer = TextPaint(
style: const TextStyle(overflow: TextOverflow.ellipsis, height: 1,
fontSize: 18, color: Color.fromARGB(255, 215, 215, 215)));
```
Any solution, please kindly help me. Thanks
Contributor guide
Assessment
This issue has not been assessed yet.