mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-24 00:12:16 +00:00
The horizontal layout (_buildHorizontalLayout) used FittedBox as a shared scaffold for both vertical and horizontal reading modes. FittedBox passes unbounded width constraints to its child, which caused RenderFlex to throw "children have non-zero flex but incoming width constraints are unbounded" when Row + Expanded children were used. This cascaded into a chain of "RenderBox was not laid out" assertions all the way up through IntrinsicHeight, ConstrainedBox, FittedBox, LayoutBuilder, and into the ScrollablePositionedList in image_view_webtoon.dart. Fix: split the two layout paths before they reach a scaffold widget. The vertical path keeps FittedBox (safe, maxWidth is capped at 480px). The horizontal path uses SizedBox(width: MediaQuery screenWidth) so Row/Expanded always receive a finite width constraint. |
||
|---|---|---|
| .. | ||
| auto_scroll_button.dart | ||
| btn_chapter_list_dialog.dart | ||
| chapter_transition_page.dart | ||
| circular_progress_indicator_animate_rotate.dart | ||
| color_filter_widget.dart | ||
| custom_popup_menu_button.dart | ||
| custom_value_indicator_shape.dart | ||
| double_page_view.dart | ||
| image_actions_dialog.dart | ||
| page_indicator.dart | ||
| reader_app_bar.dart | ||
| reader_bottom_bar.dart | ||
| reader_gesture_handler.dart | ||
| reader_settings_modal.dart | ||
| transition_view_paged.dart | ||
| transition_view_vertical.dart | ||