muzzle-velocity/lib
randogoth db13702e54 add long-press gesture to open note scrolled to end
Long-pressing a note in the list opens it in view mode with the scroll
position at the bottom of the file. Switching to edit mode the first
time positions the cursor at the end of the text and scrolls there too,
so the user can immediately append content.

Implementation:
- NoteEditorScreen gains a scrollToEnd parameter (default false)
- A ScrollController is attached to the view/edit SingleChildScrollView
- After content loads with scrollToEnd=true, two post-frame callbacks
  fire (first renders the content, second has a stable maxScrollExtent)
  then jumpTo(maxScrollExtent)
- _cursorAtEnd flag is consumed on the first Mode Edit switch: sets
  selection to text.length, requests focus, and scrolls to bottom
- NoteListScreen ListTile gets onLongPress that navigates with
  scrollToEnd: true and reloads on return

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 17:50:56 +03:00
..
themes devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
codefield.dart devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
main.dart devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
note_editor.dart add long-press gesture to open note scrolled to end 2026-06-19 17:50:56 +03:00
note_list.dart add long-press gesture to open note scrolled to end 2026-06-19 17:50:56 +03:00
read_only.dart devbox setup, dep upgrades, lint fixes, Android build fixes 2026-06-19 17:08:29 +03:00
texts.dart added about and help texts, font size slider 2025-02-22 20:59:42 +02:00