Fix problems spotted by flutter analyze

This commit is contained in:
Vishesh Handa
2019-01-18 17:39:58 +01:00
parent 93d1ddd684
commit aef0648baa
2 changed files with 3 additions and 1 deletions

View File

@ -95,6 +95,7 @@ class NoteViewer extends StatelessWidget {
); );
} }
/*
Widget _buildFooter(BuildContext context) { Widget _buildFooter(BuildContext context) {
return new Padding( return new Padding(
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0), padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
@ -118,4 +119,5 @@ class NoteViewer extends StatelessWidget {
), ),
); );
} }
*/
} }

View File

@ -27,7 +27,7 @@ class GitNoteRepository implements NoteRepository {
}) : _fileStorage = FileStorage( }) : _fileStorage = FileStorage(
noteSerializer: new MarkdownYAMLSerializer(), noteSerializer: new MarkdownYAMLSerializer(),
getDirectory: getDirectory, getDirectory: getDirectory,
) {} );
@override @override
Future<NoteRepoResult> addNote(Note note) async { Future<NoteRepoResult> addNote(Note note) async {