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