AOSSIE-Org / AOSSIE-Org/Resonate

Category responsive + but scrollable

Abierto
#796 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
344
Forks
350
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 🐛 Describe the bug

The CategoryScreen has two main UI issues affecting usability and responsiveness:
🔴 1. ListView is not scrollable (Critical)

The ListView.builder is configured with:

NeverScrollableScrollPhysics()
shrinkWrap: true
primary: true

This combination disables user scrolling and prevents the list from behaving as a proper scrollable widget.

Impact:
Users cannot scroll through stories when the list is long
Breaks expected app behavior
Causes poor user experience
🟠 2. Empty state layout is not responsive (Major)

The empty-state UI uses a fixed bottom padding:

EdgeInsets.only(bottom: 150.0)

This hard-coded value does not adapt to different screen sizes.

Impact:
UI appears misaligned on smaller or larger devices
Poor responsiveness across devices
Not following Flutter layout best practices
Expected Behavior
The stories list should scroll normally when content exceeds screen height
The empty state should be vertically centered and responsive on all screen sizes
Current Behavior
List does not scroll
Empty state positioning is inconsistent depending on device size
Suggested Fix
Remove NeverScrollableScrollPhysics, shrinkWrap, and primary from ListView
Replace fixed bottom padding with a responsive layout using Center, SafeArea, or flexible widgets
Environment
Flutter (mobile)
Affects CategoryScreen

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.