Skip to content

Commit 983c710

Browse files
refactor: reorganize lib/src into layered folders and split core widget
- Groups files by responsibility (`controller/`, `models/`, `ui/`, `widget/`). - Splits the 500+ line `ScrollInfinity` file into widget config, state (pagination/fetch logic), and footer builders using `part` files while preserving private-member access. - Mirrors the layout under `test/src/` and removes a dead empty test stub.
1 parent f940a08 commit 983c710

12 files changed

Lines changed: 536 additions & 527 deletions

lib/scroll_infinity.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
export 'src/scroll_infinity.dart';
2-
export 'src/scroll_infinity_controller.dart' hide ScrollInfinityControllerState;
1+
export 'src/controller/scroll_infinity_controller.dart'
2+
hide ScrollInfinityControllerState;
3+
export 'src/widget/scroll_infinity.dart';
File renamed without changes.

0 commit comments

Comments
 (0)