From 1179336bec26128975a0569cb75cc5ec7e384fe7 Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Mon, 9 Mar 2026 09:55:22 +0200 Subject: [PATCH] Changelog file update and final tweeks --- CHANGELOG.md | 13 ++++++++++++- README.md | 3 ++- example/lib/package_structure/example_package.dart | 2 +- lib/src/mih_package.dart | 6 +++--- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41cc7d8..a90c175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# Changelog + +All notable changes to this project will be documented in this file. + ## 0.0.1 -* TODO: Describe initial release. +### Initial Release +A comprehensive UI toolkit and utility library specifically designed for creating MIH Packages. This version includes a curated set of widgets, forms, and design utilities. + +* **Form Elements**: Includes `MihButton`, `MihForm`, `MihTextFormField`, `MihDateField`, `MihTimeField`, and `MihDropdownField`, `MihSearchBar`, for streamlined data entry. +* **Navigation & Layout**: Complex structural components like `MihPackage`, `MihPackageTitle`, `MihPackageAction`, `MihPackageTools`, `MihPackageToolBody`, `MihPackageWindow`, `MihSingleChildScroll`, and `MihFloatingMenu`, . +* **Feedback & Progress**: Pre-styled `MihSnackBar` and `MihLoadingCircle` for user interaction. +* **Design Tokens**: Built-in access to `MihColors` and `MihIcons` to ensure brand compliance. +* **Specialized Controls**: Widgets like `MihNumericStepper`, `MihRadioOptions`, and `MihToggle`. \ No newline at end of file diff --git a/README.md b/README.md index fde02ae..559e979 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ class ExamplePackage extends StatefulWidget { } class _ExamplePackageState extends State { - int selectedbodyIndex = 0; // Important for state management of the body @override Widget build(BuildContext context) { @@ -64,6 +63,8 @@ class _ExamplePackageState extends State { ); } + int selectedbodyIndex = 0; // Important for state management of the body + Widget actionButton() { return MihPackageAction( icon: Icon(Icons.arrow_back), diff --git a/example/lib/package_structure/example_package.dart b/example/lib/package_structure/example_package.dart index 970f8ca..3f142d1 100644 --- a/example/lib/package_structure/example_package.dart +++ b/example/lib/package_structure/example_package.dart @@ -13,7 +13,7 @@ class ExamplePackage extends StatefulWidget { class _ExamplePackageState extends State { int selectedbodyIndex = 0; // Important for state management of the body late final ToolBodyOne _toolBodyOne; - late final Widget _toolBodyTwo; + late final ToolBodyTwo _toolBodyTwo; @override void initState() { diff --git a/lib/src/mih_package.dart b/lib/src/mih_package.dart index f854fd4..916b1df 100644 --- a/lib/src/mih_package.dart +++ b/lib/src/mih_package.dart @@ -32,15 +32,15 @@ class MihPackage extends StatefulWidget { /// The floating action button or primary action trigger for this package. final Widget packageActionButton; + /// The titles displayed in the header for each corresponding page. + final List packageToolTitles; + /// The toolbar widget containing icons that correspond to the [packageToolBodies] pages. final MihPackageTools packageTools; /// The list of main content widgets for each "page" of the package. final List packageToolBodies; - /// The titles displayed in the header for each corresponding page. - final List packageToolTitles; - /// An optional drawer for secondary actions. final Drawer? actionDrawer;