Skip to content

ui(motion): bring SDUI tree onto QueryaMotion tokens #479

Description

@ZhuchkaTriplesix

Parent

Part of epic #477 (fluid motion follow-ups).

Problem

SduiTreeBuilder still uses a third motion dialect:

  • IconButton + AnimatedRotation with Duration(milliseconds: 160) and raw Curves.easeOutCubic
  • No context.motionDuration / motionCurve
  • Flat ListView expand — no QueryaAnimatedExpand height morph (unlike native trees)

This shows up for extension drivers and any SDUI schema tree.

Proposal

  1. Replace magic duration/curve with QueryaIcons.expandClosed + context.motionDuration(QueryaMotion.fast) + motionCurve
  2. Align expand affordance with native trees; add height morph if compatible with virtualized flatten

Files

  • lib/core/sdui/sdui_tree_builder.dart
  • test/core/sdui/sdui_builders_test.dart

Acceptance

  • No hardcoded Duration/Curves for expand chevron
  • Expand respects Reduced / Off
  • Visual parity with PG/MySQL/SQLite tree chevrons
  • Existing SDUI expand/lazy-load tests updated and green

Metadata

Metadata

Labels

enhancementNew feature or requestmotionAnimation system, transitions, motion tokensuiUser interface components and widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions