Flutter SFIButton Package
A collection of easy customizable and stylish buttons for Flutter applications.
Table of Contents
Installation
To use the Flutter SFIButton Package in your Flutter project, add it as a dependency in your pubspec.yaml
file:
dependencies:
sfibutton: ^1.0.0
Then run flutter pub get to install the package.
Usage
Import the package in your Dart code:
import 'package:sfibutton/sfibutton.dart';
Easy Customization
1. Customizable Loading
2. Button Enable/Disable
3. Border Radius
4. Border Outlines
5. Border Elevation
6. Button Elevation Color
7. Border Background Color
To apply a specific style, use the style parameter:
SFIButton(
child: Text(
"Button",
style: TextStyle(color: Colors.blueAccent),
),
onTap: () {},
backgroundColor: Colors.white,
isLoading: false,
isEnable: true,
borderRadius: BorderRadius.circular(10),
shadowColor: Colors.grey.shade400,
elevation: 4,
outlineColor: Colors.grey,
outlineWidth: 1.3,
height: 56,
width: MediaQuery.of(context).size.width,
)
Examples
For more usage examples, please refer to the Example directory in this repository.
Contributing
would ❤️ to see any contribution, give ⭐ if you like