You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request a feature, that is to support setting the icon title using a widget.
Use case:
I would like to add a countdown next to the icon, that changes according to the remaining time. Since the width of the numbers are different, using the current method: // Sets the title for this tray icon. setTitle(String title) → Future<void>
will cause the icon and the title to move constantly.
If I can set the title using a widget, then I can control the text to be constant width, that way it won't move.
Please also let me know if there is any other solution using the current method.
Thanks,
Raphael
你好,
我这边有一个需求,希望能够用一个widget来设置icon title。
用例:
我想在icon旁边加一个倒计时,显示当前计时剩余时间。由于各个数字的宽度不同,使用当前的函数: // Sets the title for this tray icon. setTitle(String title) → Future<void>
会导致icon和title一直不停的移动(抖动)。
如果能够用一个widget来设置icon title,那我就可以限定这个widget的宽度,那它就不会抖动了。
此外,如果用现有函数已经有成熟的解决方案,也欢迎告诉我!
感谢!
Raphael
The text was updated successfully, but these errors were encountered:
Hi,
I would like to request a feature, that is to support setting the icon title using a widget.
Use case:
I would like to add a countdown next to the icon, that changes according to the remaining time. Since the width of the numbers are different, using the current method:
// Sets the title for this tray icon.
setTitle(String title) → Future<void>
will cause the icon and the title to move constantly.
If I can set the title using a widget, then I can control the text to be constant width, that way it won't move.
Please also let me know if there is any other solution using the current method.
Thanks,
Raphael
你好,
我这边有一个需求,希望能够用一个widget来设置icon title。
用例:
我想在icon旁边加一个倒计时,显示当前计时剩余时间。由于各个数字的宽度不同,使用当前的函数:
// Sets the title for this tray icon.
setTitle(String title) → Future<void>
会导致icon和title一直不停的移动(抖动)。
如果能够用一个widget来设置icon title,那我就可以限定这个widget的宽度,那它就不会抖动了。
此外,如果用现有函数已经有成熟的解决方案,也欢迎告诉我!
感谢!
Raphael
The text was updated successfully, but these errors were encountered: