Skip to content
Blog
Tag

“widgets”

AnimatedBuilder Patterns: Rebuild Only What Moves

AnimatedBuilder Patterns: Rebuild Only What Moves

AnimatedBuilder deep dive: the child optimization, composed builders, Listenable.merge, AnimatedWidget subclasses, status listeners, RepaintBoundary, and pitfalls.

November 12, 2026 AI Assistant
Embedding three.js in Flutter Web: A Scene You Can Point At

Embedding three.js in Flutter Web: A Scene You Can Point At

Embed a three.js scene in a Flutter web app with HtmlElementView and dart:js_interop: scene setup, shared input and gestures, LayoutBuilder sizing, device pixel ratio, and clean teardown.

November 11, 2026 AI Assistant
Card Widget Patterns in Flutter: Elevated Surfaces Done Right

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.

November 4, 2026 AI Assistant
CircularProgressIndicator in Flutter: Spinners, Arcs, and Semantics

CircularProgressIndicator in Flutter: Spinners, Arcs, and Semantics

Use Flutter's CircularProgressIndicator for centered loading states, determinate arcs, custom strokes, and accessible spinners.

November 4, 2026 AI Assistant
ClipRRect in Flutter: Rounded Corners Without the Visual Bugs

ClipRRect in Flutter: Rounded Corners Without the Visual Bugs

How ClipRRect clips children to rounded rectangles, when to prefer Container.borderRadius, clipBehavior trade-offs, and the patterns that avoid overflow and antialiasing artifacts.

November 4, 2026 AI Assistant
Date and Time Pickers in Flutter: showDatePicker and showTimePicker

Date and Time Pickers in Flutter: showDatePicker and showTimePicker

Pick dates and times in Flutter with showDatePicker, showTimePicker, initial values, validation, and Material 3 theming.

November 4, 2026 AI Assistant
DecoratedBox in Flutter: Layering Custom Painted Styling

DecoratedBox in Flutter: Layering Custom Painted Styling

How DecoratedBox paints backgrounds and foregrounds with Decoration objects, positioning child vs foreground decoration, and when Container is the better wrapper.

November 4, 2026 AI Assistant
ExpansionTile and ExpansionPanel in Flutter: Disclosure Widgets Compared

ExpansionTile and ExpansionPanel in Flutter: Disclosure Widgets Compared

ExpansionTile for list-section disclosure, ExpansionPanel for grouped settings, controlling expansion programmatically, animation gotchas, and accessibility considerations.

November 4, 2026 AI Assistant
LinearProgressIndicator in Flutter: Showing Progress Across a Width

LinearProgressIndicator in Flutter: Showing Progress Across a Width

Use Flutter's LinearProgressIndicator for determinate and indeterminate loading bars with custom colors, minHeight, and semantics.

November 4, 2026 AI Assistant
ListenableBuilder Patterns in Flutter: Reactive UI Without Streams

ListenableBuilder Patterns in Flutter: Reactive UI Without Streams

Rebuild parts of your UI from any Listenable with ListenableBuilder — animations, controllers, and notifiers without StreamBuilders.

November 4, 2026 AI Assistant
ListTile Patterns in Flutter: The Row That Powers Every List

ListTile Patterns in Flutter: The Row That Powers Every List

ListTile anatomy — leading, title, subtitle, trailing — density and three-line variants, tap handling with InkWell, and when to build a custom row instead.

November 4, 2026 AI Assistant
PopupMenuButton Patterns in Flutter: Overflow Menus Done Right

PopupMenuButton Patterns in Flutter: Overflow Menus Done Right

PopupMenuButton vs PopupMenu, itemBuilder contracts, onSelected and onCanceled, initialValue checks, and the menu-button pattern desktop apps expect.

November 4, 2026 AI Assistant
TextFormField Patterns in Flutter: Controllers, Validators, and Focus

TextFormField Patterns in Flutter: Controllers, Validators, and Focus

Practical TextFormField patterns: onSaved vs onChanged, initialValue traps, validator contracts, autovalidateMode, and wiring fields into a Form with GlobalKey.

November 4, 2026 AI Assistant
Tooltip Widget in Flutter: Small Hints With Big UX Value

Tooltip Widget in Flutter: Small Hints With Big UX Value

When to use Tooltip for hover and long-press hints, richText and decoration options, keyboard/semantics behavior, and why Tooltips are not for essential information.

November 4, 2026 AI Assistant
ValueNotifier in Flutter: One Value, Minimal Boilerplate

ValueNotifier in Flutter: One Value, Minimal Boilerplate

Use ValueNotifier and ValueListenableBuilder for single-value state in Flutter with zero ceremony and no external packages.

November 4, 2026 AI Assistant
Overlay and OverlayEntry: Building Floating UI in Flutter

Overlay and OverlayEntry: Building Floating UI in Flutter

Build tooltips, toasts, and anchored floating menus with Overlay and OverlayEntry — lifecycle, stacking order, and the leak gotchas that bite in production.

November 2, 2026 AI Assistant
AnimatedSwitcher in Flutter: Crafting Polished State Transitions with Ease

AnimatedSwitcher in Flutter: Crafting Polished State Transitions with Ease

How to use AnimatedSwitcher for effortless fade, scale, slide, and custom transition animations whenever child widgets or state values change.

November 1, 2026 AI Assistant
Mastering MediaQuery in Flutter: Device Metrics, Padding, and Breakpoints

Mastering MediaQuery in Flutter: Device Metrics, Padding, and Breakpoints

A comprehensive guide to using MediaQuery for screen dimensions, device orientation, system insets, text scaling, and performance-friendly MediaQuery.of selectors.

November 1, 2026 AI Assistant
Wrap Widget in Flutter: Designing Flexible Flow Layouts and Chip Groups

Wrap Widget in Flutter: Designing Flexible Flow Layouts and Chip Groups

Mastering Flutter's Wrap widget to build dynamic tags, filter pills, and adaptive responsive buttons without triggering overflow errors.

November 1, 2026 AI Assistant
ListView.builder: Lazy Loading Lists That Scale in Flutter

ListView.builder: Lazy Loading Lists That Scale in Flutter

Why constructor-built lists blow up memory, how ListView.builder creates children on demand, and how to build paginated infinite-scroll lists with keys and correct item extents.

October 29, 2026 AI Assistant
LayoutBuilder for Responsive UI in Flutter

LayoutBuilder for Responsive UI in Flutter

Use LayoutBuilder's BoxConstraints to build adaptive Flutter layouts — a breakpoints pattern, LayoutBuilder vs MediaQuery, and how to avoid unbounded-constraint gotchas.

October 29, 2026 AI Assistant
CustomPainter for Canvas Drawing in Flutter: A Practical Guide

CustomPainter for Canvas Drawing in Flutter: A Practical Guide

Learn how to draw custom graphics in Flutter with CustomPaint, CustomPainter, and the Canvas API — from your first circle to performant, animated visualizations.

October 28, 2026 AI Assistant
Flutter Adaptive Layout Widgets: Building UIs That Fit Any Screen

Flutter Adaptive Layout Widgets: Building UIs That Fit Any Screen

A practical guide to Flutter's adaptive and responsive layout toolkit — MediaQuery, LayoutBuilder, and the widgets that make one codebase usable on phones, tablets, foldables, and desktops.

October 28, 2026 AI Assistant
Super Parameters in Dart: Less Boilerplate in Widget Constructors

Super Parameters in Dart: Less Boilerplate in Widget Constructors

Super parameters let you forward named and positional arguments to a superclass constructor with the shorthand `super.`. Learn how they cut Flutter widget boilerplate, and how they pair with required named parameters.

October 21, 2026 AI Assistant
Explicit Animations in Flutter: Mastering the AnimationController

Explicit Animations in Flutter: Mastering the AnimationController

When you need to drive, pause, reverse, or sequence an animation, implicit widgets are not enough. Learn the AnimationController, how AnimatedBuilder rebuilds efficiently, and when to step up from implicit motion.

October 21, 2026 AI Assistant
Implicit Animations in Flutter: Motion Without an AnimationController

Implicit Animations in Flutter: Motion Without an AnimationController

Implicitly animated widgets let you add motion by changing a value — no AnimationController or Ticker required. Learn how AnimatedContainer, AnimatedOpacity, and TweenAnimationBuilder fit together.

October 21, 2026 AI Assistant
Cupertino Widgets Hit 61% Satisfaction: Flutter's Lowest-Rated Area

Cupertino Widgets Hit 61% Satisfaction: Flutter's Lowest-Rated Area

Cupertino widgets fell 6 points to 61% in Flutter's Q2 2026 survey. The fix is decoupling — cupertino_ui is now its own package.

October 19, 2026 AI Assistant
TabBar and TabBarView in Flutter: Building Tabbed Interfaces

TabBar and TabBarView in Flutter: Building Tabbed Interfaces

Choose DefaultTabController or a manual TabController, keep TabBar and TabBarView in sync, style indicators, and avoid the classic length and disposal pitfalls.

October 16, 2026 AI Assistant
GestureDetector in Flutter: Recognizers, Hit Testing, and Touch Input

GestureDetector in Flutter: Recognizers, Hit Testing, and Touch Input

How raw pointer events become gestures, how the GestureArena picks a winner, and how behavior, semantics, and InkWell change what your taps actually do.

October 16, 2026 AI Assistant
ScrollController Patterns in Flutter

ScrollController Patterns in Flutter

Practical ScrollController patterns for Flutter: lifecycle, multi-position pitfalls, jumpTo versus animateTo, notifications, and lazy loading.

October 16, 2026 AI Assistant
Pan and Zoom in Flutter: Building Pinch-to-Zoom with InteractiveViewer

Pan and Zoom in Flutter: Building Pinch-to-Zoom with InteractiveViewer

Maps, canvases, image galleries, and whiteboards all need the same gesture pair. InteractiveViewer gives you pan and zoom for free — but boundaries, constraints, and programmatic control are where it gets interesting.

October 14, 2026 AI Assistant
Glassmorphism in Flutter: BackdropFilter, Blur, and ImageFiltered

Glassmorphism in Flutter: BackdropFilter, Blur, and ImageFiltered

Frosted glass, blurred dialogs, and soft scrims all run through BackdropFilter — one of the most expensive widgets in Flutter. How it works, why it needs a clip, and how to make multiple blurs cheap.

October 14, 2026 AI Assistant
Drag and Drop in Flutter: Draggable, DragTarget, and LongPressDraggable

Drag and Drop in Flutter: Draggable, DragTarget, and LongPressDraggable

Drag-and-drop looks simple until a drag fights a scroll view or the feedback widget vanishes. Here is how Draggable and DragTarget actually work, and the parameters that decide how a drag behaves.

October 14, 2026 AI Assistant
WidgetsBindingObserver: Handling App Lifecycle in Flutter

WidgetsBindingObserver: Handling App Lifecycle in Flutter

Flutter apps live inside an OS lifecycle they do not control. WidgetsBindingObserver is how your widgets learn about resume, pause, memory pressure, and metric changes — and how to use it correctly.

October 13, 2026 AI Assistant
CarouselView in Flutter: Infinite Scrolling and State Callbacks

CarouselView in Flutter: Infinite Scrolling and State Callbacks

A hands-on guide to Flutter's Material CarouselView: weighted layouts, snapping, the new infinite looping mode, and tracking the leading item with onIndexChanged and CarouselController.

October 3, 2026 AI Assistant
Flutter Clean Architecture: The Presentation Layer

Flutter Clean Architecture: The Presentation Layer

Master the Presentation layer in Flutter Clean Architecture — how widgets and controllers work together to build reactive, testable UIs.

September 17, 2026 AI Assistant