From a2b3c8d9e6cb0a9942afc86df47605e2edfe22e9 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Thu, 30 Jan 2020 18:41:51 +0100 Subject: [PATCH] Add const --- lib/editors/markdown_editor.dart | 4 ++-- lib/editors/raw_editor.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/editors/markdown_editor.dart b/lib/editors/markdown_editor.dart index d4aa8227..cd43f584 100644 --- a/lib/editors/markdown_editor.dart +++ b/lib/editors/markdown_editor.dart @@ -124,7 +124,7 @@ class _NoteBodyEditor extends StatelessWidget { keyboardType: TextInputType.multiline, maxLines: null, style: style, - decoration: InputDecoration( + decoration: const InputDecoration( hintText: 'Write here', border: InputBorder.none, isDense: true, @@ -149,7 +149,7 @@ class _NoteTitleEditor extends StatelessWidget { keyboardType: TextInputType.text, maxLines: 1, style: style, - decoration: InputDecoration( + decoration: const InputDecoration( hintText: 'Title', border: InputBorder.none, isDense: true, diff --git a/lib/editors/raw_editor.dart b/lib/editors/raw_editor.dart index 08ffd231..f1d3354c 100644 --- a/lib/editors/raw_editor.dart +++ b/lib/editors/raw_editor.dart @@ -89,7 +89,7 @@ class _NoteEditor extends StatelessWidget { keyboardType: TextInputType.multiline, maxLines: null, style: style, - decoration: InputDecoration( + decoration: const InputDecoration( hintText: 'Write here', border: InputBorder.none, isDense: true,