extended_text
extended_text copied to clipboard
A powerful extended official text for Flutter, which supports Speical Text(Image,@somebody), Custom Background, Custom overFlow, Text Selection.
TextOverflowPosition.start: find no overflow by layout TextPainter 21 times. 设置了多行,展示不下,但是没有出现省略
如题:期望能显示在最后的文字旁边,即333的旁边  class BackgroundTextDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('nick background for text'), ), body: SingleChildScrollView( child: Container( color: Colors.green, width:...
 内容中间加了一个使用BackdropFilter做文字模糊的效果,只要加了这个,全文越界显示那儿肯定会直接变黑
https://user-images.githubusercontent.com/15946864/172988706-2a1a26e2-3cb2-4b5b-99a2-ee31159eff33.mp4 Drag the mouse from right to left to reproduce.
When i show the selection overlay, pop back to another screen without hide the overlay and then back to that screen then this error shows up. We should dispose on...
下图激活selection,可以看到,选中的位置和文本真实位置有一点错位,随着文本行数不断增加,这种错位逐渐累计,变得越来越明显。  该问题的复现方法: ```dart import 'package:extended_text/extended_text.dart'; import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo',...
`ExtendedText( "Coupons can be used only if this condition is me", maxLines: 2, style: Theme.of(context).textTheme.caption?.copyWith( fontSize: 35.w ), overflow: TextOverflow.ellipsis, overflowWidget: TextOverflowWidget( position: TextOverflowPosition.end, align: TextOverflowAlign.center, // just for debug...
使用`SelectableText.rich`没有这种现象
Click on the special text without triggering the onSpecialTextTap event. ```dart ExtendedText( StringUtil.isBlank(titles[index]) ? _titles[index] : titles[index]!, onSpecialTextTap: (dynamic parameter) { if (parameter.toString().startsWith('@')) { print('object'); } }, specialTextSpanBuilder: GitterSpecialTextSpanBuilder(), overflow:...
I would like to migrate to this package and replace my existing TextSpan and WidgetSpan structure. However, the one thing I require that I didn't see possible, is if you...