gluestack_ui 0.0.1-alpha.2 gluestack_ui: ^0.0.1-alpha.2 copied to clipboard
Universal Themed & Unstyled Widgets for Flutter
gluestack-ui-flutter (alpha) #
gluestack-ui-flutter is a universal UI library that provides optionally styled and accessible widgets. These widgets are designed for easy integration into applications developed with Flutter.
Package is in development. APIs may change in the future.
Documentation #
You can try the example app demo on this link: https://gluestack-flutter.web.app/
We are referring gluestack-ui to create gluestack-ui-flutter. Flutter documentation is in progress. You can find the detailed documentation for each component, including a list of props and examples, in https://gluestack.io/ui/docs website.
Features #
-
Customizable widgets: Each widget in the library comes with a set of customizable props that allow you to tailor its appearance and behavior to your specific needs.
-
Responsive design: The widgets are built using modern web design principles and are fully responsive, so they work seamlessly across a wide range of devices and screen sizes.
-
Well-documented: The comes with comprehensive documentation for each widget, including a list of props and examples, to help you get up and running quickly.
-
Easy to use: The widgets are designed to be easy to use and integrate into your existing Flutter applications. Simply install the library and import the widgets you need.
-
Frequent updates: We are constantly working on improving the library and adding new widgets. Follow us on GitHub to stay up-to-date on the latest releases and features.
-
Community support: Need help using the library or have a suggestion for a new feature? Join our Discord channel to connect with the community and get support.
Installation #
Add the package to your dependencies:
dependencies:
gluestack_ui: 0.0.1-alpha.2
OR
dependencies:
gluestack_ui:
git: https://github.com/gluestack/gluestack-ui-flutter.git
Usage #
Here is how GSButton
widget can be easily integrated into your flutter app. Here's an example of how to use it:
import 'package:gluestack_ui/gluestack_ui.dart';
GSButton(
action: GSActions.negative,
variant: GSVariants.solid,
size: GSSizes.$lg,
onPressed: () {},
style: GSStyle(
web: GSStyle(
bg: $GSColors.amber600,
),
ios: GSStyle(
bg: $GSColors.pink600,
),
onHover: GSStyle(
bg: $GSColors.green400,
),
md: GSStyle(
bg: $GSColors.pink400,
),
),
child: const GSButtonText(text: "Click Here"),
)
All Gluestack widgets support dark theme. Package detects the current theme from Flutter's inbuilt Theme.of(context).brightness
. Hence, you can manage the theme mode from MaterialApp itself using the state management of your choice.
Contributing #
We welcome contributions from the community. If you'd like to contribute to gluestack-ui-flutter
, please read our contributing guide instructions on how to submit a pull request.
License #
Licensed under the MIT License, Copyright © 2023 GeekyAnts. See LICENSE for more information.