HM Widget

Easy to use open source UI library with Widgets to build flutter app.

Installation

  1. Add the latest version of package to your pubspec.yaml (and runflutter pub get):
dependencies:
  hmwidget: ^0.0.3
  1. 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

components/actions_sheet/action_sheet
components/autocomplete/hm_autocomplete
components/bottom_bar/custom_indicator
components/bottom_bar/hm_bottom_bar
components/bottom_bar/scrollcontroller_provider
components/button/hm_button
components/checkbox/hm_checkbox
components/chips/hm_choice_chips
components/chips/hm_filter_chips
components/colorpicker/hm_color_input
components/colorpicker/hm_color_piker
components/colorpicker/logic
components/detailspage/hm_details_page
components/file_picker/camera_page
components/file_picker/file_view
components/file_picker/hm_file_picker
components/file_picker/hm_file_picker_logic
components/iconbutton/hm_iconbutton
components/image_picker/image_picker
components/radio/hm_radio
components/select/hm_multi_select
components/select/hm_select
components/select/hm_select_bagde
components/slider/hm_range_slider
components/slider/hm_slider
components/switch/hm_switch
components/textfield/hm_textfield
hmwidget
size/hm_autocomplete_size
size/hm_button_size
size/hm_checkbox_size
size/hm_iconbutton_size
size/hm_radio_size
size/hm_select_size
size/hm_slider_size
size/hm_switch_size
size/hm_textfield_size
theme/slider_theme_data/path_painter
theme/slider_theme_data/range_slider_thunb_shape
theme/slider_theme_data/range_slider_track
theme/slider_theme_data/range_value_indicator
theme/slider_theme_data/slider_thumb_shape
theme/slider_theme_data/slider_track
theme/slider_theme_data/slider_value_indicator
type/file_source
type/hm_button_type
type/hm_chips_type
type/hm_select_type
type/hm_slider_type
type/hm_textfield_type
utils/constant
utils/helper
utils/hm_radius
utils/sizes
widget_theme