Proposal document for v1.0
还没有人认领这个 Issue。
评估
调研方向
审查 v1.0 milestone 和 project,然后检查剩余的 README/tutorial 任务 (#8) 和自动化测试任务 (#78)。完成的要求是解决未完成的目标,并记录或实现已达成一致的 API 和 release 工作,但此提案没有确定单一入口点或范围明确的变更。
由索引模型根据 Issue 内容生成。
描述
This is the proposal document for 1.0 version of the package intended to discuss and finalise the APIs of the package.
List of Objectives
- provide easy and quick way to implement all the use cases of backdrop component as defined in Material Design Guideline
- implementations should assume defaults but be configurable and extendable by the user for any custom behaviour
- code examples of various use-cases should be provided
- proper API documentation should be added
APIs
To achieve the above-mentioned objectives following are the public classes that need to be implemented:
-
1.
Backdropextends InheritedWidget: This class exposesBackdropScaffoldStatefor any widget down the tree using the convenientBackdrop.of(context). TheBackdropScaffoldStatein itself exposes some helper methods likefling,showBackLayer,showFrontLayer, underlyingScaffoldwidget,AnimationControlleretc. -
2.
BackdropScaffoldextends StatefulWidget: It is the backdrop equivalent toScaffoldwidget. This is the main layout widget that implements the core behaviour of the backdrop. It should act as the entry point to implementing backdrop with the most basic use cases as default. Additional behaviours could be added to it using other widgets just like howappBar,drawer,bottomNavigationBarare added withScaffold. -
#6 3.
BackdropAppBarextends StatefulWidget: It is the backdrop equivalent toAppBarwidget. This widget should provide APIs to define the behaviour of the app bar of the backdrop - icon, title, actions, etc. Various app bar uses cases mentioned in the guideline should be configured using this widget. -
4.
BackdropToggleButtonextends StatelessWidget: A convenient widget to drop in to fling the backdrop back and forth. This could be used inactionsinBackdropAppBarto fling backdrop from the right side of the app bar. -
5.
BackdropNavigationBackLayerextends StatefulWidget: It is the backdrop equivalent ofBottomNavigationBar. A convenient widget to implement navigation pattern with the backdrop - usingbackLayerto display a list of items, tapping on which would display the corresponding widget infrontLayer.BackdropNavigationItemcould be used to encapsulate the widget that needs to be displayed, just like howBottomNavigationBarItemis used. However, unlikeBottomNavigationBarthe UI of a list of items should be configurable by the user.
Other Tasks
- API documentation of all Classes, Properties and Methods using Effective Dart: Documentation Guide.
- #26 add SubHeader to Backdrop Front Layer as specified in the MDG.
- #7 Demo app that demonstrates all use-cases of Backdrop as mentioned in the Material Design Guideline.
- #8 Proper README and additional tutorial guides (optional) to make easier for user to get started with package.
- deprecate attributes and widgets
- ci-cd tooling (preferably Github Action) to update github pages when master is updated.
- #78 automatic testing with ci-cd
Quick Links
- 主要语言
- Dart
- 星标
- 347
- 派生
- 36
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluttercommunity/backdrop 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
fluttercommunity/backdrop#130 · 1 条评论 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
fluttercommunity/backdrop#126 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
fluttercommunity/backdrop#121 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
fluttercommunity/backdrop#120 · 6 条评论 ·
-
Slivers AppBar未关闭
难度 4/5 3-5 天 新手友好度 35/100
fluttercommunity/backdrop#118 · 7 条评论 ·
查看 fluttercommunity/backdrop 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
googleapis/google-cloud-dart#366 ·
维护者通常 1 天内回复
-
bug controls
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
from.page-issue
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
team-tool tool
难度 2/5 1-3 小时 新手友好度 84/100
flutter/flutter#193423 · 1 条评论 ·
维护者通常 1 天内回复
-
ai-driven-qa bug claude
难度 2/5 1-3 小时 新手友好度 82/100
linagora/tmail-flutter#4898 · 1 条评论 ·
维护者通常 1 天内回复