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"),
      ),
    );
  }
)