TolyFx / toly_ui

The All-Platform Responsive ui library for flutter.
MIT License
300 stars 31 forks source link

只引入tolyui_feedback: 0.3.4+4,报错。 #12

Open mrchenmo opened 1 month ago

mrchenmo commented 1 month ago

../../../.pub-cache/hosted/pub.flutter-io.cn/tolyui_feedback-0.3.4+4/lib/toly_tooltip/toly_tooltip.dart:438:21: Error: The getter 'exitDuration' isn't defined for the class 'TooltipThemeData'.
 - 'TooltipThemeData' is from 'package:flutter/src/material/tooltip_theme.dart' ('../../../work/flutterSDK/flutter/packages/flutter/lib/src/material/tooltip_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'exitDuration'.
      _tooltipTheme.exitDuration ??
mrchenmo commented 1 month ago

这是啥原因啊,张老师。

mrchenmo commented 1 month ago

tooltip_theme.dart确实没有定义exitDuration这个参数

mrchenmo commented 1 month ago

TolyPopover 对于超长文字的显示,Overlay能否显示在屏幕的中间 9BBF2FCD4EF07C57E355F531C4B393C7 像微信这种超长文字可以显示在文字上 42B7490892812CE9E9CEBFCA78E9CC89 AA72817ABD051D4B0EC5D8A45D92FB8F 微信Android端和iOS端表现还不一样,TolyPopover有没有方法可以显示在中间位置。

mrchenmo commented 1 month ago

Android 就是显示在屏幕下方的固定位置,是否这样显示由外部判断。