sdga_design_system 1.0.0
sdga_design_system: ^1.0.0 copied to clipboard
A comprehensive set of UI components and design principles that adhere to the Saudi Digital Government Authority (SDGA) design guidelines.
1.0.0 #
- Major Release: First stable release of SDGA Design System
- Added comprehensive Date Picker widgets with full Gregorian and Hijri calendar support:
SDGACalendarDatePicker- Material-style calendar date pickerSDGAYearPicker- Year selection pickerSDGACupertinoDatePicker- iOS-style date picker with customizable mode (date, time, dateAndTime)SDGACupertinoTimerPicker- iOS-style timer/countdown pickerSDGAInputDatePickerFormField- Form field with integrated date picker
- Added Hijri Calendar System with complete Islamic calendar support:
HijriDateTime- Full Hijri calendar implementation with Gregorian conversionHijriCalendarDelegate- Calendar delegate for Hijri mode in date pickersHijriDateFormat- Formatting utilities for Hijri dates with locale supporttoHijri()extension method for convertingDateTimetoHijriDateTime
- Added utility functions:
showSDGADatePicker()- Display date picker dialog (supports both Gregorian and Hijri)showSDGADateRangePicker()- Display date range picker dialog (supports both Gregorian and Hijri)
- Added comprehensive example page demonstrating all date picker variants
0.0.9 #
- Added
SDGABadgewidget for compact notification indicators and status badges - Added
SDGAContentDialogwidget for flexible dialog layouts with optional title, content, and custom action widgets - Added
SDGATag.customStatusconstructor for custom color status tags with user-definedbackgroundColor,textColor, and optionaldotColor - Added
hideDotproperty to status tags for hiding the status dot indicator - Enhanced
SDGATabBarwith TabController support and improved API: replacedtitlewithtext/childproperties, replacedselected/onPressedwithenabledproperty - Enhanced
SDGATooltipwithSDGATooltipPositionenum for preferred positioning (left, right, top, bottom) with automatic fallback - Enhanced
SDGACardwithonTapcallback for normal cards (non-selectable/non-expandable) - Enhanced
SDGAButtonwith improved internal structure and layout - Enhanced
SDGAContentSwitcherwith better state management - Enhanced
SDGAMenuwith improved positioning and scroll behavior - Added
showSDGADialog()utility function for displaying SDGA-styled dialogs - Updated minimum SDK requirements to Dart >=3.0.0 and Flutter >=3.10.0
0.0.8 #
- Added
customSuffixIconproperty inSDGADropdownInput - Some style enhancements
0.0.7 #
- Added core widgets:
SDGAAlertDialog(modal alerts),SDGATextFormField(form input),SDGADividerandSDGAVerticalDivider(separators) - Enhanced
SDGATextFieldwithonFocusChangedcallback andinitialValueproperty - Added
SDGAFile.advancedconstructor for dynamic file state management with provider support - Added file handling properties to
SDGAFileInput:fileWrapperBuilder,onFilePressed,onReuploadFile - Added file control options
canDeleteandshowReuploadButtontoSDGAFile - Fixed
SDGAStepperscroll behavior when currentIndex changes with non-null selectedIndex - Fixed positioning issues in
SDGAMenu
0.0.6 #
Note: This release has breaking changes.
- Breaking: Changed label type from String to Widget in
SDGAToggleableLayout,SDGACheckbox,SDGARadio,SDGASwitch. AddedlabelTextfor simple text labels - Added comprehensive code documentation
0.0.5 #
- Added dialog widgets:
SDGADialog,SDGASimpleDialog, andshowSDGAModalutility - Added navigation widgets:
SDGAAppBar,SDGANavigationBar,SDGAScaffold - Added RTL (Right-to-Left) support for
SDGAStepper
0.0.4 #
- Added builder constructor for efficient long list handling in
SDGADropdownInput - Added filtering capability to
SDGADropdownInput - Improved menu widget scroll and web compatibility
0.0.3 #
- Added
SDGADropdownInputandSDGAInputDropdownAffixwidgets - Renamed
SDGAInputAffix.customtoSDGAInputAffix - Renamed
SDGAInputAffix.texttoSDGAInputTextAffix - Added automatic highlighting of selected item in
SDGADrawerwhen opened
0.0.2 #
- Improved pub.dev score optimizations.
0.0.1 #
- Initial release of the
sdga_design_systempackage.
