flutter_custom_buttons 0.0.3 copy "flutter_custom_buttons: ^0.0.3" to clipboard
flutter_custom_buttons: ^0.0.3 copied to clipboard

Flutter Custom Buttons provide user to customize button to their need. User can manipulate width, height, radius, color, text, text color, and action.

Flutter Custom Button package lets you add a custom button to your flutter app.

Installation #

  1. Add this to your package's pubspec.yaml file:
dependencies:
  flutter_custom_buttons: ^0.0.1
  1. You can install packages from the command line with Flutter:
$ flutter pub get
  1. Import the package and use it in your Flutter App.
import 'package:flutter_custom_buttons/flutter_custom_buttons.dart';

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"),
      ),
    );
  }
)
0
likes
130
pub points
59%
popularity

Publisher

unverified uploader

Flutter Custom Buttons provide user to customize button to their need. User can manipulate width, height, radius, color, text, text color, and action.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_custom_buttons