display filename on top bar

rearrange some imports
add linter rules
This commit is contained in:
2022-10-30 21:57:13 +01:00
parent ab1bacea00
commit 84eef41996
11 changed files with 78 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'note_file.dart';
import '../canvas/document_types.dart';
import 'note_file.dart';
extension LineLoading on NoteFile {
Future<List<Stroke>> loadStrokes() async {

View File

@@ -1,8 +1,9 @@
import 'dart:io';
import 'package:notes/savesystem/path.dart';
import 'package:sqflite/sqflite.dart';
import 'path.dart';
class NoteFile {
late Database _db;
String filepath;