Getting started
Flutter Color Buttons
Platform support
Android | IOS | Windows | Mac | Linux | Chrome OS | Web |
Installation
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies:
flutter_color_buttons: ^0.0.4
2. Install it
You can install packages from the command line:
with Flutter:
$ flutter pub add flutter_color_buttons
Usage
Import it
Now in your Dart code, you can use:
import 'package:flutter_color_buttons/flutter_color_buttons.dart';
Include short and useful examples for package users.
Example_1
Splash Screen with Text Widget
OrchidButton(
onPressed: () {},
child: const Text(
'OrchidButton',
));
Example_2
Splash Screen with Icon Widget
TurkishButton(
onPressed: () {},
child:Icon(
Icons.audiotrack,
color: Colors.green,
size: 30.0,
), );