flutter_primary_button

A new Flutter package help developer to use stylish and simple primary buttons

Installation

Add the following to pubspec.yaml

dependencies:
---
primary_button: ^0.1.0

Usage Example

import primary_button.dart

import 'package:primary_button/PrimaryButton.dart';

For normal buttons

  PrimaryButton(
                onPressed:() => print("tapped"),
                fontSize:18,
                textColor: Color(0xff212121),
                bgColor:Colors.green,
                width:290,
                height:50,
                buttonLabel: "START PLAYING",
                ),

Screenshot example

Package demo

Refer to Git repo link and the source code for more information.

Libraries

flutter_primary_button
PrimaryButton