bweird_widgets 0.1.3
bweird_widgets: ^0.1.3 copied to clipboard
A collection of BWeird widgets and components with GetX implemented
BWeird Toolkit Components #
A Flutter package offering a collection of reusable UI components and utilities designed to streamline development and enhance productivity. This package is part of BWeird’s app development projects, providing a seamless foundation for UI construction and an optimized user experience.
Dependencies BWeird widget components rely on the following dependencies:
- GetX
- Iconify
Note: These dependencies must be included in your project for the package to function correctly.
Requriement #
A predefined theme color system designed to be applied across the entire application, ensuring a consistent and cohesive user interface.
ThemeData(
dividerTheme: DividerThemeData(
color: Colors.grey, // Set the global divider color
),
textTheme: TextTheme(
headlineLarge:TextStyle(fontSize: 49), // header
titleLarge:TextStyle(fontSize: 30), // title
titleMedium: TextStyle(fontSize: 20), // subtitle
bodyLarge:TextStyle(fontSize: 10), // body
),
colorScheme: ColorScheme(
brightness: Brightness.light,
primary: Colors.blue,
onPrimary: Colors.black,
secondary: Colors.green,
onSecondary: Colors.black,
error: ColorTheme.COLOR_DANGER,
onError: Colors.white,
surface: Colors.white,
onSurface: Colors.black)
)
Features #
- ✨ Basic Components ( Button, Text, Textfield, Tab)
- 🎨 Layout ( Resonsive Split Screen, Side Menu Large Screen )
- ⚡ Container
- 📱 Dialog
Installation #
Add this to your pubspec.yaml
file:
dependencies:
your_package_name: latest_version
get: ^4.7.2 || latest_version
iconify_flutter: ^0.0.5 || latest_version
Then run:
flutter pub get
Usage #
Import the package:
import 'package:bweird_widgets/bweird_widgets.dart';
import "package:bweird_widgets/utilities.dart";
Example #
Components #
Text
#
BWText.header("Hello World"),
BWText.title("hello World"),
BWText.subtitle("Hello World"),
BWText.body("Hello World"),
BWText.caption("Hello World"),
BWText.tiny("Hello World"),
BWText.tinier("Hello World"),
Button
#
BWButton(title: "Disabled Button"),
BWButton(title: "Button", onTap: () {}),
BWButton.outline(title: "Button Outline", onTap: () {}),
BWButton.text(title: "Button Text", onTap: () {}),
BWButton.iconS(icon: KeyIcon.QRCODE,backgroundColor: Colors.amber,onTap: () {}),
.... .... Learn more from Example Project
Images #
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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.