HM Widget
Easy to use open source UI library with Widgets to build flutter app.
Installation
- Add the latest version of package to your pubspec.yaml (and run
flutter pub get
):
dependencies:
hmwidget: ^0.0.3
- Import the package and use it in your Flutter App.
import 'package:hmwidget/hmwidget.dart';
Get started
There are a number of widget that you can customize:
- HMButton
- HMIconButton
- HMCheckBox
- HMSwitch
- HMSlider
- HMRangeSlider
- HMTextField
- HMRadio
- HMSelect
- HMAutoComplete
Example
import 'package:flutter/material.dart';
import 'package:hmwidget/hmwidget.dart';
void main() => runApp(
const MaterialApp(
home: Material(
child:Scaffold(
body: Center(
child: HMButton(
onPressed: () => print("Pressed"),
buttonVariant: HMButtonVariant.outlined,
content: 'Press',
textColor: Colors.blue,
),
),
),
),
),
);
See the example app for more complex examples.
Libraries
- action_sheet
- camera_page
- constant
- custom_indicator
- file_source
- file_view
- helper
- hm_autocomplete
- hm_autocomplete_size
- hm_bottom_bar
- hm_checkbox
- hm_checkbox_size
- hm_chips_type
- hm_choice_chips
- hm_color_input
- hm_color_piker
- hm_details_page
- hm_file_picker
- hm_file_picker_logic
- hm_filter_chips
- hm_multi_select
- hm_radio
- hm_radio_size
- hm_radius
- hm_range_slider
- hm_select
- hm_select_bagde
- hm_select_size
- hm_select_type
- hm_slider
- hm_slider_size
- hm_slider_type
- hm_switch
- hm_switch_size
- hm_textfield
- hm_textfield_size
- hm_textfield_type
- hmwidget
- image_picker
- logic
- path_painter
- range_slider_thunb_shape
- range_slider_track
- range_value_indicator
- scrollcontroller_provider
- sizes
- slider_thumb_shape
- slider_track
- slider_value_indicator
- widget_theme