Skip to content

feat(listview): add support for scroll direction in ListView - #2380

Merged
usmanvrtx merged 1 commit into
android_TV_implementationfrom
feat/listview-direction
Oct 1, 2026
Merged

usmanvrtx merged 1 commit into
android_TV_implementationfrom
feat/listview-direction

Conversation

@usmanvrtx

Copy link
Copy Markdown
Member

Description

Adds configurable scroll direction to Ensemble ListView, supporting horizontal and vertical scrolling while retaining vertical scrolling as the default.

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)

What Has Changed

  • Added a direction property to ListView, with vertical and horizontal values.
  • Passed the configured direction to the underlying scroll view; omitted values default to vertical.
  • Added widget tests for the default, horizontal, and explicit vertical directions.
  • Updated the Ensemble schema to document the property and its allowed values.

How to Test

Run the focused ListView tests:

cd modules/ensemble
flutter test test/widget/list_view_test.dart

Screenshots / Videos

Not applicable.

Checklist

  • I have run flutter analyze and addressed any new warnings
  • I have run flutter test and all tests pass
  • I have tested my changes on the relevant platform(s)
  • I have updated documentation if needed
  • My changes do not introduce new warnings or errors

@usmanvrtx usmanvrtx self-assigned this Oct 1, 2026
@usmanvrtx
usmanvrtx merged commit 5e2002b into android_TV_implementation Oct 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants