v0.0.1
platform_adaptive_buttons
一个 Flutter 包,提供一个可根据平台设计规范自适应的自定义按钮。
1喜欢 9近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
YoussefLasheen/platform_adaptive_buttons open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
A flutter utility that allows you to easily adapt your material buttons to the iOS style.
Just create your button as you would normally do, and then append .adaptive() to it and thats it.
ElevatedButton(
onPressed: () {},
child: const Text('Tap me!'),
).adaptive(context);
it works with the following buttons:
ElevatedButton, TextButton, OutlinedButton, and FilledButton.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^4.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗