sd_utils library
Classes
- AmountFormatter
- Safe amount and currency formatting helpers.
- AmountInputFormatter
- Formats numeric text input with Indian-style comma grouping.
- BaseChip
- Base animated chip widget used by all public chip variants.
- BasicChip
- Simple text chip with optional controlled or uncontrolled selection.
- ChipAvatar
- Chip avatar helper for quick initials/profile visuals.
- ChipData
- Represents the data configuration for a Chip widget. This model holds all the data needed to configure a chip's appearance and behavior.
- ChipMotion
- Resolved animation values for a chip instance.
- ChipStyle
- Immutable styling configuration shared by all chip widgets.
- ChoiceChip
- Single-choice chip for radio-like experiences.
- ChoiceChipConfig
- Configuration for a choice chip.
- ChoiceChipGroup
- Group widget for exclusive choice selection.
- ConditionalChip
- Convenience chip that toggles disabled behavior from a flag.
- ContactChip
- Production-friendly contact chip with avatar, subtitle-like tone, and selection.
- DateFormatter
- Production-safe date formatting helpers.
- DateInputFormatter
-
Formats text input as
dd/MM/yyyywhile preserving cursor movement. - DisabledChip
- Always-disabled chip variant.
- FilterChip
- Filter chip styled for search and product faceting.
- FilterChipConfig
- Configuration for a filter chip.
- FilterChipGroup
- Group widget for filter chips.
- GradientChip
- Premium chip using animated gradient fills.
- GradientChipBuilder
- Convenience builders for common product badges.
- GradientChipPresets
- Named gradient presets for quick production use.
- IconChip
- Text chip with a leading icon.
- MultiSelectChip
- Multi-select chip used in faceted selection patterns.
- MultiSelectChipConfig
- Configuration for a multi-select chip in a group.
- MultiSelectChipGroup
- Group widget for multi-select chips.
- OutlinedChip
- Transparent chip with animated outline treatment.
- SdChipTheme
- An inherited theme override for chip widgets.
- SdChipThemeData
- Global theme configuration for the chip system.
- SdInputChip
- Input chip with optional remove action.
- SdInputChipWithAvatar
- Input chip with avatar for people and workspace tokens.
- SelectableChip
- Selectable chip with optional leading icon.
- ToggleChip
- Toggle chip with a switch-like trailing indicator.
Extensions
- ChipContextX on BuildContext
- Theme accessors for widgets and demos.
- ChipStyleX on ChipStyle
- Convenience style presets.
- NullableDateExtensions on DateTime?
- Safe helper methods for nullable dates.
- NullableNumExtensions on num?
- Safe helper methods for nullable numbers.
- NullableStringExtensions on String?
- Safe helper methods for nullable strings.
- SdChipThemeX on ThemeData
- Theme helpers for host apps.
- StringChipBuilders on String
- Quick builders for string-based chip usage.
-
StringChipListBuilders
on Iterable<
String> - Helpers for chip lists.
Constants
- defaultDateFormat → const String
- Default display format used by DateFormatter.
- emptyPlaceholder → const String
- Placeholder returned when a value is missing or invalid.