Last updated:
0 purchases
flutter custom buttons
Flutter Custom Button package lets you add a custom button to your flutter app.
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
flutter_custom_buttons: ^0.0.1
copied to clipboard
You can install packages from the command line with Flutter:
$ flutter pub get
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:flutter_custom_buttons/flutter_custom_buttons.dart';
copied to clipboard
Usage #
Buttons
(
width: 100.0,
height: 60.0,
radius: 12.0,
elevation: 2.0,
txt: "Button",
textColor: Colors.white,
fontSize: 20.0,
onPressed: () {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text("Button pressed"),
),
);
}
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.