ez_widget_2 0.0.6
ez_widget_2: ^0.0.6 copied to clipboard
This plugin contains popular widgets that are commonly used in Flutter projects.
ez_widget_2 #
The plugin has predefined popular widgets that you can simply call and use by passing the corresponding parameters. Note that for some widgets, you need to call the "config" function to configure them before use.
EzWidget().config();
I. Widgets #
1 Image Widgets #
- FileImageView
- ImageView
- NetImageView
- SvgImageView
- Base64ImageView
- SvgImageViewData
2 Space Widgets #
You need to call EzWidget().config() to set config value of Space Widgets
-
SpaceContent: Use it to separate widgets that belong to the same group.
-
SpaceContentSm
-
SpaceContentXs
-
SpaceContentMd
-
SpaceContentLg
-
SpaceCustom
-
SpaceObject: Use it to separate different groups of widgets from each other.
-
SpaceObjectMd
-
SpaceObjectLg
-
SpaceSide: Use it to separate widgets on the same row.
-
SpaceSideSm
-
SpaceSideMd
-
SpaceSideLg
3. Function widgets #
- BackCatch: It helps you capture the event when the user presses the back button.
4. Other widgets #
- DottedLine: A dotted line is a line that is drawn with a series of dots.
- VerticalDottedLine: A vertical dotted line is a line that is drawn with a series of vertical dots.
II. Views #
These are predefined views designed to handle common application states.
- HakagoStateView: This View displays the corresponding views based on the values of the UiState. The UiState values include: loading, displaying, disconnected, editing, etc.
- EmptyView: Use it when your screen has no value.
- EmptyViewImage
- LoadingView: Use it when your screen is being loaded.
- ErrorView: When your data have error, please use it.
III. Dialogs #
- CalendarPickerDialog: It assists you in selecting a time.
- FullLoadingDialog: Helps you display a loading indicator while your screen is processing.