v0.1.7
nice_button
一個適用於 Android 和 IOS 的 Flutter 套件,可輕鬆為您的應用設計漂亮的按鈕。盡情享受吧!
63喜歡 81近 30 天下載40Pub 分數
平台暫無資料
Ethiel97/nice_button open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter package for Android and IOS to design nice buttons with no hassle in your app. Enjoy !
Add the following to pubspec.yaml
dependencies:
...
nice_button: ^0.1.7
import nice_button.dart
import 'package:nice_button/nice_button.dart';
NiceButton(
width: 255,
elevation: 8.0,
radius: 52.0,
text: "Login",
background: yourColor,
onPressed: () {
print("hello");
},
),
Icon is required in this case
NiceButton(
mini: true,
icon: Icons.home,
background: yourColor,
onPressed: () {
print("hello");
},
)
var firstColor = Color(0xff5b86e5), secondColor = Color(0xff36d1dc);
NiceButton(
radius: 40,
padding: const EdgeInsets.all(15),
text: "Register",
icon: Icons.account_box,
gradientColors: [secondColor, firstColor],
onPressed: () {},
)

Refer to example folder and the source code for more information.
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗