A widget to create button with color or gradient color
Features
- Button color
- Button gradient color
Getting started
Add dependencies
gullaa_button_widget: ^0.0.1
Usage
You can add button with 1 color or gradient color
//One color
ButtonWidgetWidth(
title: "Example",
tColor: Colors.white,
bColor: Colors.black,
size: 12,
rad: 10,
press: () {},
width: 100.0,
height: 30.0,
),
//Gradient color
ButtonWidgetGrad(
title: "Example",
colors1: Colors.blue,
colors2: Colors.green
tColor: Colors.white,
size: 12,
rad: 10,
press: () {},
width: 100.0,
height: 30.0,
),