widgets/misc/misc library
Exports for the misc layer.
Classes
- Accordion
- A list of expandable accordion (collapsible) panels.
- AccordionItem
- A single accordion panel.
- AnimatedCounter
- A smooth animated numeric counter widget supporting prefix, suffix, decimal places, and curved number transitions.
- AppContextMenu
- A long-press contextual menu that appears near the pressed position.
- AppMasonry
- A true masonry (Pinterest-style) layout that distributes items across columns using a shortest-column greedy algorithm, allowing each child to render at its natural height.
- AppRatingDialog
- A modern "Rate Us" app rating prompt dialog with interactive stars and feedback.
- Badge
- A badge/counter pill attached to a child.
- BarcodeWidget
- Barcode 1D Code128-style visualization widget.
- BiometricButton
- An animated biometric authentication button that cycles through idle, scanning, and success/fail states.
- BottomSheetDraggable
- A multi-snap draggable bottom sheet with configurable snap heights.
- Calendar
- A month calendar widget with selection, range and events support.
- ChatBubble
- A rich chat bubble widget supporting text messages, timestamps, read receipts, emoji reactions, and reply-to previews.
- ChatReaction
- CodeBlock
- A sleek code block viewer with line numbers, language tag, and one-click copy button.
- ColorSwatchEntry
- A single color entry in ColorSwatchViewer.
- ColorSwatchViewer
- An interactive color palette display widget.
- ContextMenuItem
- A single item in an AppContextMenu.
- CopyButton
- A button that copies text to the clipboard and briefly shows a check icon.
- CountDownTimer
- A countdown timer widget.
- CountDownTimerState
- DashboardItem
- DebugOverlay
- A lightweight in-app diagnostics overlay showing FPS, screen size, and device orientation.
- DeliveryStep
- A single step in order delivery tracking.
- DeliveryTracker
- A multi-step delivery tracker with animated pulse on the active step.
- DistanceBar
- A visual distance bar connecting two points with travel mode, ETA, and progress.
- DraggableDashboard
- A draggable/reorderable dashboard widget arranged in a configurable grid. Each tile can be dragged to a different position.
- ExpandableText
- A text widget that truncates at maxLines and shows an animated "Read more" / "Read less" toggle.
- FloatingParticles
- An ambient floating particles background widget.
- GestureHintOverlay
- An animated hint overlay showing users how to interact with gestures (swipe, pinch, double tap).
- GlowBorderWidget
- Wraps a child with an animated rotating gradient border.
- GradientText
- A text widget rendered with a moving gradient shader.
- JsonViewer
- An interactive, collapsible JSON viewer with syntax highlighting and copy-to-clipboard.
- MiniMap
- A scrollable minimap widget that shows a small overview of a larger scrollable area with a draggable viewport indicator.
- NetworkStatusBar
- An animated status bar indicating internet connectivity changes.
- OnboardingOverlay
- An interactive onboarding overlay that highlights target widgets with a spotlight effect and step-by-step tooltips.
- OnboardingStep
- ParallaxListItem
- A parallax scroll effect applied to a list tile's background.
- PatternLock
- A 9-dot pattern lock widget for security and PIN setups.
- PermissionRequestCard
- A card prompting the user to grant a specific device permission (Camera, Location, Notifications, etc.).
- PollOption
- A single option in a PollWidget.
- PollWidget
- An animated social-style poll widget.
- PullToReveal
- A widget that reveals hidden top content (e.g. search bar, quick actions, stats) when the user pulls down past the top scroll boundary.
- QrCodeWidget
- A pure-Flutter QR code rendering widget.
- Rating
- A rating display with filled/outline stars and optional count.
- ReactionPicker
- An emoji reaction picker popup.
- ScratchCard
- An interactive scratch-to-reveal card for coupons, rewards, and giveaways.
- ScratchReveal
- A gradual content-reveal widget (paint-brush/eraser effect).
- A ShareItem defines one action in the share sheet.
- Shows a native-feeling share action sheet as a bottom modal.
- SignaturePad
- A free-hand signature drawing widget.
- SignaturePadState
- SpotlightHighlight
- Highlights a specific widget on screen with a spotlight/darkened backdrop.
- Stepper
- StopWatch
- A stopwatch widget that counts up.
- StopWatchState
- Tag
- A clickable tag/chip with icon, label and optional removal.
- ThemeSwitcherFab
- A floating action button that rotates and toggles between Light, Dark, and System theme modes.
- Timeline
- A vertical timeline of events.
- TimelineItem
- A single timeline entry.
- TypingIndicator
- A "is typing..." indicator with three animated bouncing dots.
- Watermark
- Renders a diagonal, tiled watermark text overlay on top of child.
- WheelOfFortune
- An interactive spinning wheel of fortune widget with physics deceleration, customizable slices, and win callbacks.
- WheelOfFortuneState
Enums
- BiometricButtonType
- CalendarMode
- Selection mode for Calendar.
- CountDownFormat
- GestureHintType
- Gesture type for GestureHintOverlay.
- MessageStatus
- MiniMapPosition
- StepState
- State of a stepper step.
- TooltipDirection
Typedefs
- NashBadge = Badge
- A backwards-compatible alias for Badge.
- NashStepper = Stepper
- A step indicator supporting horizontal and vertical layouts with clickable steps, validation states, and content below each step.