圆形浮动应用栏

具有类似新款谷歌应用程序的圆形浮动应用栏。此包提供了一种简单的方式,可以在 Flutter 项目中添加带圆角的浮动应用栏。

rounded_floating_app_bar

安装

  1. 将依赖项添加到 pubspec.yaml

    在 pub.dartlang.org 的“安装”选项卡中获取最新版本

dependencies:
    rounded_floating_app_bar: 0.1.0
  1. 导入包
import 'package:rounded_floating_app_bar/rounded_floating_app_bar.dart';
  1. 添加 RoundedFloatingAppBar 小部件
RoundedFloatingAppBar(
  floating: true,
  snap: true,
),

如何使用

请在 example 目录中查看示例应用程序,或在 pub.dartlang.org 上的“示例”选项卡中查看更完整的示例。

入门

此项目是Dart的起点
,
一个库模块,其中包含可以轻松共享的代码
多个Flutter或Dart项目。

如需获取 Flutter 入门帮助,请参阅我们的
在线文档,其中提供了教程,
示例、移动开发指南和完整的 API 参考。

贡献

  1. Fork 此项目
  2. 创建你的特性分支 (git checkout -b my-new-feature)
  3. 进行必要的更改并提交 (git commit -am '添加某个功能')
  4. 推送到分支 (git push origin my-new-feature)
  5. 创建新的 Pull Request

GitHub

https://github.com/ibhavikmakwana/rounded_floating_app_bar