v0.1.7
nice_button
앱에서 별다른 번거움 없이 아름다운 버튼을 디자인할 수 있는 Android 및 iOS용 플러터 패키지입니다. 즐기세요!
63좋아요 8130일 다운로드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 ↗