“ui-patterns”
Card Widget Patterns in Flutter: Elevated Surfaces Done Right
Use Flutter's Card widget for lists, dashboards, and content surfaces with elevation, shape, and ink handling done right.
Swipe to Delete: Mastering Dismissible in Flutter
Build production-ready swipe-to-dismiss lists with Dismissible, covering keys, confirmDismiss vetoes, and correct list mutation.
PageView in Flutter: Building Swipeable Onboarding and Carousels
Build onboarding flows, carousels, and horizontal pagers with PageView, PageController, and a custom dot indicator.
showDialog Patterns in Flutter: Alerts, Confirmations, and Custom Dialogs
Master showDialog with typed results, barrier dismissal, PopScope, platform-adaptive dialogs, and safe async context handling.
Bottom Sheets in Flutter: showModalBottomSheet Patterns Done Right
Modal and persistent bottom sheets done right: full-height layouts, drag handles, safe areas, keyboard-aware forms, and awaited results.
Wizard Flows with the Stepper Widget in Flutter
Build multi-step wizards with Flutter's Stepper: Step states, clamped currentStep navigation, controlsBuilder buttons, per-step form validation, and the content scroll gotcha.