RuparnaMukherjee/decorative_app_bar
使用 Flutter 轻松装饰应用栏
- Stars
- 1
- Forks
- 0
- 最近推送(UTC)
- 2022年9月9日
- 项目状态
- 未归档
语言Dart
使用的依赖
依赖清单 2 项
- flutter
{"sdk":"flutter"} - flutter_test开发依赖
{"sdk":"flutter"}
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
decorativeAppBar
A Flutter package to easily decorate your appbar with rounded borders and adding your own widgets on appbar.
Features
1)Compatible with any widget class of flutter 2)Compatible with both android and ios 3)Has an additional feature of styling your appbar gradient,size,background,bottom radius.
Usage
in pubspec.yaml decorative_app_bar: ^0.0.2
Import it as import 'package:decorative_app_bar/decorative_app_bar.dart'
Snippet For Reference
DecorativeAppBar(
barHeight: 400, //height of appbar
barPad: 170, //distance of the curve from appbar
radii: 100, //radius of the curve
background: Colors.pink[50], //background color must be same as app's background
gradient1: Colors.white, //gradient color for appbar
gradient2: Colors.green, //gradient color for appbar
extra: extra_widget(), //style your icons,searchbar,text to your appbar with your own widget
));
Screenshots
default
image
feature example 1
image
feature example 2
image