s_design 0.2.1 copy "s_design: ^0.2.1" to clipboard
s_design: ^0.2.1 copied to clipboard

Schrift SDesign UI component library of Flutter, responsive and suitable for use in mobile projects.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.1 - 2025-02-08 #

Changed #

New Feature #

- Added shimmer loading effect to SScaffold, update loading indicator and integrate shimmer package
  • Enhanced SInputField with additional properties for improved functionality; add scrollPadding, scrollPhysics, autofillHints, mouseCursor, contextMenuBuilder, restorationId, and enableIMEPersonalizedLearning.

0.2.0 - 2025-01-19 #

Added #

  • S Scaffold: SScaffold is a custom scaffold widget designed to simplify layout, loading states, and optional scrollable content in a single, reusable component.
    • It integrates a ChangeNotifier (LoadingProvider) to handle a loading overlay (e.g., an activity indicator) without needing extra boilerplate.
  • STabs: A customizable tabs.
    • It allows you to display multiple views under different tab labels, with optional animations and orientation options.
  • SSwitch: A customizable switches.
    • SSwitch is a customizable and accessible switch component. It provides an animated toggle (on/off) behavior with configurable sizes, colors, and variants.
    • Allows bot determinate(two states) and indeterminates(three states) checks.

Changed #

  • New Features:

    • STriggerBuilder for SDropdownMenu to build custom trigger widget.
  • Other Components:

    • Minor styling and performance tweaks across various UI components (e.g., SCard, SCheckBox).
    • Introduced improved theming logic for more consistent dark and light mode support.

Fixed #

  • Resolved major inconsistencies in SDropdownMenu.

Removed #

  • SModals now removed and replaced with SDialog

0.1.0 - 2025-01-11 #

Added #

  • SToast: A lightweight and customizable toast notification widget for quick status updates.
    • Supports multiple toast types (success, error, info, warning).
    • Configurable display duration and animation transitions.
  • SSonner: A customizable snackbar-style notification widget for more persistent feedback.
    • Offers optional action buttons and adjustable timeouts.
    • Works seamlessly with sOverlayBuilder for flexible placement.
  • sOverlayBuilder: A builder utility to easily overlay widgets (like notifications, dialogs, or banners) on top of existing UI layers.
    • Provides a clean API to manage multiple overlays without manual stack manipulation.
    • Offers improved performance and resource management when compared to traditional overlay solutions.

Changed #

  • SInputField:

    • Major Refactor: Improved internal architecture for better performance and maintainability.
      • Decreased rebuild overhead and memory footprint.
      • Streamlined validation and error-handling callbacks.
    • New Features:
      • Auto-complete support and built-in suggestions.
      • Enhanced styling options including custom borders, hint styles, and prefix/suffix icons.
      • Expanded keyboard configuration for domain-specific use cases (e.g., numbers, emails, or passwords).
  • Other Components:

    • Minor styling and performance tweaks across various UI components (e.g., SButton, SCard).
    • Introduced improved theming logic for more consistent dark and light mode support.

Fixed #

  • Resolved minor theming inconsistencies in SDropdownMenu and SCheckBox under certain device font scaling settings.

Removed #

  • No breaking component removals. All existing components remain available and compatible.

0.0.1+2 - 2025-01-09 #

Changes #

  • Changes with documentation

0.0.1+1 - 2025-01-08 #

Changes #

  • Changes with documentation

0.0.1 - 2025-01-08 #

Added #

  • Initial release of the sDesign package.
  • Core UI components:
    • SButton: A versatile button widget with customizable styles and variants.
    • SModal: A customizable modal widget with predefined types (success, error, warning, info).
    • SCard: A simple and customizable card component.
    • SCheckBox: A checkbox widget with multiple states.
    • SDropdownMenu: A dropdown menu widget with theming support.
    • SInputField: A text input widget with various configurations.
    • SProgressBar: A progress indicator widget.
  • Theming and utility functions for all components.
  • Example application demonstrating usage of all components.

This marks the beginning of the sDesign package on pub.dev.

2
likes
0
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

Schrift SDesign UI component library of Flutter, responsive and suitable for use in mobile projects.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

animated_text_kit, flutter, flutter_spinkit, intl, provider, shimmer

More

Packages that depend on s_design