v0.1.7
nice_button
Ein Flutter-Paket für Android und iOS, um in Ihrer App mühelos schöne Buttons zu gestalten. Genießen Sie es!
63Likes 8130-Tage-Downloads40Pub-Punkte
Keine Plattformdaten
Ethiel97/nice_button open-source repository details.
Englischer Projektschnappschuss. Aktuelle Inhalte auf 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.
Abhängigkeiten 2 Einträge
{"sdk":"flutter"}{"sdk":"flutter"}Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗