Widget_Tray
A Flutter package that provides a curated collection of custom widgets to simplify UI design and app development. With Widget_Tray, you can quickly create beautiful, reusable, and responsive user interfaces.
Features
- A wide variety of customizable widgets
- Easy to use and integrate into any Flutter project
- Supports responsive design for multiple screen sizes
- Well-documented and actively maintained
List of Widgets
-
Expandable Tile A customizable expandable list tile widget with hover and selection states. This widget provides an animated expandable tile that can contain child widgets. It supports hover effects, selection states, and custom colors for various states.
-
Date Picker This widget allows users to select a day, month, and year using dropdown menus. It supports customizable labels and hint texts for each dropdown
-
Circular Percentage A customizable circular percentage indicator widget with animation support. This widget displays a circular progress indicator with an optional center text and footer text. The progress is animated when the percentage value changes.
-
Gender Picker A widget that provides a gender selection interface with male and female options. This widget displays two buttons side by side with male and female icons. The selected gender is highlighted with its respective color (blue for male, pink for female).
-
Sidebar A customizable sidebar widget with a list of items. This widget provides a sidebar with a list of items that can be selected. It supports hover effects, selection states, and custom colors for various states.
Screenshots
Installation
Add the following dependency to your pubspec.yaml
file:
dependencies:
widget_tray: ^0.0.9
Usage
Import the package in your Dart code:
import 'package:widget_tray/widget_tray.dart';
Example
ExpansionListExample
ExpansionListExample()
SidebarExample
CustomSidebar()
GenderPickerExample
Gender()
DatePickerExample
DropdownDatePicker()
CircularPercentageExample
CircularPercentage()