agra
3eba30358c
...
2026-05-10 16:37:23 +03:00
agra
fb00e98681
clipboard: add UxClipboard.readImage native bridge
...
Flutter's Clipboard API only exposes text shapes. Banlu's chat composer
needs image bytes from the system clipboard for desktop paste, so add
a UxClipboard facade backed by per-platform native plugins:
* iOS: prefer raw PNG/JPEG bytes off the pasteboard, fall back to
re-encoding `UIPasteboard.image` as PNG.
* macOS: prefer NSPasteboard `.png`, fall back to TIFF transcoded
through NSBitmapImageRep so screenshots / Preview hand-offs still
work.
* Android: read primary ClipData's first item URI and stream the bytes
through ContentResolver — don't trust the clip description's MIME,
copy whatever the resolver returns.
Returns null (never throws) when the clipboard has no image — callers
treat null as "fall through to text paste".
2026-05-09 07:29:14 +03:00
agra
26cdf63afc
scanner
2026-05-07 09:22:01 +03:00
agra
6f73b53c5e
0.8.0: pretty logger (Log) + crash capture
...
- Log: static entry + scoped Loggers (Log.tag), six levels, lazy messages,
structured fields, ANSI ConsoleSink, DeveloperSink, MemorySink, NoopSink.
Sinks compose via +; throwing sinks are isolated.
- Log.configure wires FlutterError/PlatformDispatcher/isolate errors through
Log.e by default; log-then-rethrow deduped via Expando.
- UxKeyboard: migrate kDebugMode print() to Log.tag('KB').d lazily.
- Depend on package:clock for testable timestamps.
2026-04-24 15:07:06 +03:00
agra
fc24035162
fluent unawaited
2026-04-24 10:59:21 +03:00
agra
ae21d81eab
automap
2026-04-23 13:21:44 +03:00
agra
7e0b9a6330
files
2026-04-22 22:42:53 +03:00
agra
2113537078
orientation
2026-04-22 16:22:45 +03:00
agra
b8d77e0a3a
keyboard focus + app_info
2026-04-21 16:54:56 +03:00
agra
785c6d3c31
pub.dev score: license, dartdoc, analysis, tests
...
- Add MIT license
- Add dartdoc to all public APIs (UxKeyboard, BendBox, Bezier, Json)
- Add analysis_options.yaml with flutter_lints and public_member_api_docs
- Add repository, issue_tracker, topics to pubspec.yaml
- Expand package description
- Fix BendBox constructor (const, super.key)
- Remove unused import in keyboard.dart
- Replace boilerplate tests with UxKeyboard smoke tests
- Move ux dependency to example's dependencies (not dev_dependencies)
2026-04-16 18:51:22 +03:00
agra
0be198e388
android: keyboard height tracking via JNI/FFI bridge
...
- C bridge (keyboard_bridge.c) stores keyboard state in globals.
Kotlin writes via JNI, Dart reads via FFI — zero async delay,
same architecture as iOS.
- WindowInsetsAnimation.Callback tracks open/close per-frame.
- OnGlobalLayoutListener catches silent height changes (emoji
keyboard resize, floating keyboard toggle).
- Dart animation replay stays iOS-only; Android reads native
per-frame values directly.
- Cleaned up old Java stub, updated build.gradle for Kotlin + CMake
with 16KB page alignment (Android 15+).
- Example app rewritten to demonstrate UxKeyboard usage.
2026-04-15 23:49:16 +03:00
alex
a6f3d63d68
+bezier
2020-05-25 09:45:52 +01:00
alex
94ee74840a
zzz
2020-05-04 10:58:19 +01:00
agrapine
7493b964be
added bend_box
2019-08-07 19:05:39 +01:00
agrapine
810d060d44
red pill
2019-08-07 15:37:44 +01:00