fixed weird warnings
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// ignore_for_file: use_build_context_synchronously
|
||||
|
||||
import 'package:filcnaplo/models/settings.dart';
|
||||
import 'package:filcnaplo/theme/colors/colors.dart';
|
||||
import 'package:filcnaplo_kreta_api/models/grade.dart';
|
||||
|
||||
@@ -8,7 +8,7 @@ import 'package:flutter_custom_tabs/flutter_custom_tabs.dart';
|
||||
import 'package:flutter_linkify/flutter_linkify.dart';
|
||||
|
||||
class NoteView extends StatelessWidget {
|
||||
const NoteView(this.note, {Key? key}) : super(key: key);
|
||||
const NoteView(this.note, {super.key});
|
||||
|
||||
final Note note;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import 'package:filcnaplo_mobile_ui/common/widgets/note/note_view.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class NoteViewable extends StatelessWidget {
|
||||
const NoteViewable(this.note, {Key? key}) : super(key: key);
|
||||
const NoteViewable(this.note, {super.key});
|
||||
|
||||
final Note note;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user