flutstrap 0.0.1
flutstrap: ^0.0.1 copied to clipboard
A Flutter UI library inspired by Bootstrap with responsive layouts and prebuilt components.
π FlutStrap #
FlutStrap is a Flutter UI library inspired by Bootstrap. It provides ready-to-use UI components, responsive layouts, and light/dark theming to help you build Flutter apps quickly and efficiently.
Whether you're building a small project or a complex application, FlutStrap provides essential UI components and layout utilities to accelerate Flutter development.
β Why FlutStrap? #
FlutStrap brings the familiar design philosophy of Bootstrap to Flutter.
Key advantages include:
- β‘ Pre-built UI components
- π± Responsive layout utilities
- π¨ Built-in theming support
- π Consistent spacing system
- π§© Developer-friendly APIs
π¦ Installation #
Add FlutStrap to your pubspec.yaml:
dependencies:
flutstrap: ^0.0.1
Then run:
flutter pub get
Alternative Installation (GitHub) #
You can also install directly from GitHub:
dependencies:
flutstrap:
git:
url: https://github.com/Broadmaker/FlutStrap.git
ref: main
Then run:
flutter pub get
π Quick Example #
Below is a simple example using FlutStrap components.
import 'package:flutter/material.dart';
import 'package:flutstrap/flutstrap.dart';
class ExamplePage extends StatelessWidget {
const ExamplePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: FlutstrapButton(
label: "Click Me",
onPressed: () {
print("FlutStrap Button Pressed");
},
variant: FSButtonVariant.success,
),
),
);
}
}
π§© Components #
FlutStrap includes a variety of UI components that make it easy to build beautiful Flutter applications.
- Alerts β Show important messages or notifications to the user.
- Badges β Display labels or counts for items.
- Buttons β Different button styles including primary, secondary, and disabled states.
- Cards β Container widgets used to display grouped content.
- Dropdowns β Interactive dropdown menus.
- Forms β Form elements including checkboxes, radio buttons, and text inputs.
- Modals β Popup dialogs to display additional content.
- Navbars β Responsive navigation bars.
- Paginations β Pagination controls for multi-page content.
- Progress β Progress bars for loading states.
- Spinners β Animated loading indicators.
- Tables β Structured and responsive tables.
- Tooltips β Informational hints for UI elements.
π Layouts #
FlutStrap provides layout utilities to help structure Flutter apps efficiently and responsively.
π§© Key Layout Utilities #
-
Columns
Divide your layout into columns for flexible responsive designs. -
Containers
Wrap content to control width, padding, alignment, and styling. -
Grids
Build responsive grid systems that adapt across screen sizes. -
Rows
Organize content horizontally and combine with columns for grid layouts. -
Visibility
Control when widgets appear depending on device size or conditions.
βοΈ Core Features #
FlutStrap provides core utilities that power layouts, spacing, and responsiveness.
π§© Core Utilities #
-
Responsive Layouts
Automatically adjust UI layouts based on screen size. -
Spacings
Maintain consistent padding and margins across your application. -
Breakpoints
Define responsive breakpoints for mobile, tablet, and desktop layouts. -
Themes
Manage global color schemes, typography, and component styles. -
Utilities
Helper widgets and functions for alignment, positioning, and layout control.
πΈ Preview #
Screenshots of FlutStrap components will be added soon.
Example preview layout:
| Buttons | Alerts |
|---|---|
![]() |
![]() |
β‘ Contribution #
We welcome contributions!
If you have suggestions, improvements, or bug fixes:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
Your contributions help improve FlutStrap for everyone.
π¬ Support #
If you have questions or encounter issues, feel free to open an issue on the GitHub repository.
π License #
FlutStrap is licensed under the MIT License.
You are free to use, modify, and distribute this library in your own projects.

