Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDDrawer定义为一个Widget #427

Open
dong-lucky-ticket opened this issue Dec 30, 2024 · 2 comments
Open

TDDrawer定义为一个Widget #427

dong-lucky-ticket opened this issue Dec 30, 2024 · 2 comments

Comments

@dong-lucky-ticket
Copy link

dong-lucky-ticket commented Dec 30, 2024

这个功能解决了什么问题

大部分页面的基础Widget都是使用的Scaffold,在Scaffold中有个属性drawer,它是用来支持原生Drawer的,drawer只能接收一个Widget?类型。而咱们的TDDrawer的类型是一个class,无法为Scaffold的drawer属性赋值,只能在方法中用方法调用的方式来使用,不够灵活。

你建议的方案是什么

建议将TDDrawer的类型修改为Widget

IssueShoot

  • 预估时长:3
  • 期望完成时间:2025-1-24
  • 开发难度:中
  • 参与人数:1
  • 需求对接人:zflyluo
  • 验收标准:实现期望改造效果,提 MR并通过 验收无误
  • 备注:最终激励以实际提交 pr 并合并为准。TDesignFlutter贡献指南:https://tdesign.tencent.com/flutter/develop
Copy link
Contributor

👋 @dong-lucky-ticket,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Feb 2, 2025

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

@github-actions github-actions bot added the Stale label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants