From b17c184900cb5ef7a618c88da97af9f86f0bb038 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 5 May 2020 12:02:36 +0200 Subject: [PATCH] Add very basic Image support [Android only] This adds a '+' button to the NoteEditor which allows you to add an image from either the Gallery or Take a photo. It then accordingly adds updates markdown. The file is added in the same directory as the note for now. Related to #10 --- android/app/src/main/AndroidManifest.xml | 1 + lib/core/note.dart | 8 +++ lib/editors/checklist_editor.dart | 17 ++++- lib/editors/common.dart | 88 ++++++++++++++++++++++-- lib/editors/journal_editor.dart | 14 +++- lib/editors/markdown_editor.dart | 14 +++- lib/editors/raw_editor.dart | 14 +++- pubspec.lock | 23 ++++++- pubspec.yaml | 1 + 9 files changed, 167 insertions(+), 13 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 728efbda..a196f863 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -3,6 +3,7 @@ +