sdga_design_system 1.0.0 copy "sdga_design_system: ^1.0.0" to clipboard
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 picker
    • SDGAYearPicker - Year selection picker
    • SDGACupertinoDatePicker - iOS-style date picker with customizable mode (date, time, dateAndTime)
    • SDGACupertinoTimerPicker - iOS-style timer/countdown picker
    • SDGAInputDatePickerFormField - Form field with integrated date picker
  • Added Hijri Calendar System with complete Islamic calendar support:
    • HijriDateTime - Full Hijri calendar implementation with Gregorian conversion
    • HijriCalendarDelegate - Calendar delegate for Hijri mode in date pickers
    • HijriDateFormat - Formatting utilities for Hijri dates with locale support
    • toHijri() extension method for converting DateTime to HijriDateTime
  • 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 SDGABadge widget for compact notification indicators and status badges
  • Added SDGAContentDialog widget for flexible dialog layouts with optional title, content, and custom action widgets
  • Added SDGATag.customStatus constructor for custom color status tags with user-defined backgroundColor, textColor, and optional dotColor
  • Added hideDot property to status tags for hiding the status dot indicator
  • Enhanced SDGATabBar with TabController support and improved API: replaced title with text/child properties, replaced selected/onPressed with enabled property
  • Enhanced SDGATooltip with SDGATooltipPosition enum for preferred positioning (left, right, top, bottom) with automatic fallback
  • Enhanced SDGACard with onTap callback for normal cards (non-selectable/non-expandable)
  • Enhanced SDGAButton with improved internal structure and layout
  • Enhanced SDGAContentSwitcher with better state management
  • Enhanced SDGAMenu with 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 customSuffixIcon property in SDGADropdownInput
  • Some style enhancements

0.0.7 #

  • Added core widgets: SDGAAlertDialog (modal alerts), SDGATextFormField (form input), SDGADivider and SDGAVerticalDivider (separators)
  • Enhanced SDGATextField with onFocusChanged callback and initialValue property
  • Added SDGAFile.advanced constructor for dynamic file state management with provider support
  • Added file handling properties to SDGAFileInput: fileWrapperBuilder, onFilePressed, onReuploadFile
  • Added file control options canDelete and showReuploadButton to SDGAFile
  • Fixed SDGAStepper scroll 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. Added labelText for simple text labels
  • Added comprehensive code documentation

0.0.5 #

  • Added dialog widgets: SDGADialog, SDGASimpleDialog, and showSDGAModal utility
  • 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 SDGADropdownInput and SDGAInputDropdownAffix widgets
  • Renamed SDGAInputAffix.custom to SDGAInputAffix
  • Renamed SDGAInputAffix.text to SDGAInputTextAffix
  • Added automatic highlighting of selected item in SDGADrawer when opened

0.0.2 #

  • Improved pub.dev score optimizations.

0.0.1 #

  • Initial release of the sdga_design_system package.
7
likes
150
points
139
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A comprehensive set of UI components and design principles that adhere to the Saudi Digital Government Authority (SDGA) design guidelines.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl, sdga_icons

More

Packages that depend on sdga_design_system