Last updated:
0 purchases
hmwidget
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 runflutter pub get):
dependencies:
hmwidget: ^0.0.3
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:hmwidget/hmwidget.dart';
copied to clipboard
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,
),
),
),
),
),
);
copied to clipboard
See the example app for more complex examples.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.