bweird_widgets 0.1.0
bweird_widgets: ^0.1.0 copied to clipboard
A collection of BWeird widgets and components
Flutter Toolkit Components #
A Flutter package that provides a collection of reusable UI components and utilities to enhance development productivity.
Features #
- ✨ Customizable widgets
- 🎨 Pre-styled components for faster development
- ⚡ High-performance and lightweight
- 📱 Responsive and adaptive design
Installation #
Add this to your pubspec.yaml
file:
dependencies:
your_package_name: latest_version
Then run:
flutter pub get
Usage #
Import the package:
import 'package:your_package_name/your_package_name.dart';
Example #
import 'package:flutter/material.dart';
import 'package:your_package_name/your_package_name.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text("Flutter Toolkit")),
body: Center(
child: CustomButton(
text: "Click Me",
onPressed: () {
print("Button Pressed");
},
),
),
),
);
}
}
Components #
CustomButton
#
A simple customizable button.
CustomButton(
text: "Click Me",
onPressed: () => print("Clicked!"),
)
CustomCard
#
A pre-styled card component.
CustomCard(
title: "Card Title",
content: "This is a sample card content",
)
Contributing #
Contributions are welcome! Feel free to submit issues or pull requests.
License #
This project is licensed under the MIT License - see the LICENSE file for details.