static analysis fixes
This commit is contained in:
parent
62c199c745
commit
a95670c341
5 changed files with 8 additions and 8 deletions
|
@ -5,7 +5,7 @@ import 'package:aves/widgets/viewer/info/metadata/xmp_namespaces.dart';
|
|||
class XmpExifNamespace extends XmpNamespace {
|
||||
static const ns = 'exif';
|
||||
|
||||
XmpExifNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpExifNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
String get displayTitle => 'Exif';
|
||||
|
|
|
@ -6,7 +6,7 @@ import 'package:collection/collection.dart';
|
|||
import 'package:tuple/tuple.dart';
|
||||
|
||||
abstract class XmpGoogleNamespace extends XmpNamespace {
|
||||
XmpGoogleNamespace(String ns, Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpGoogleNamespace(String ns, Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
List<Tuple2<String, String>> get dataProps;
|
||||
|
||||
|
@ -35,7 +35,7 @@ abstract class XmpGoogleNamespace extends XmpNamespace {
|
|||
class XmpGAudioNamespace extends XmpGoogleNamespace {
|
||||
static const ns = 'GAudio';
|
||||
|
||||
XmpGAudioNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpGAudioNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
List<Tuple2<String, String>> get dataProps => const [Tuple2('$ns:Data', '$ns:Mime')];
|
||||
|
@ -47,7 +47,7 @@ class XmpGAudioNamespace extends XmpGoogleNamespace {
|
|||
class XmpGDepthNamespace extends XmpGoogleNamespace {
|
||||
static const ns = 'GDepth';
|
||||
|
||||
XmpGDepthNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpGDepthNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
List<Tuple2<String, String>> get dataProps => const [
|
||||
|
@ -62,7 +62,7 @@ class XmpGDepthNamespace extends XmpGoogleNamespace {
|
|||
class XmpGImageNamespace extends XmpGoogleNamespace {
|
||||
static const ns = 'GImage';
|
||||
|
||||
XmpGImageNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpGImageNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
List<Tuple2<String, String>> get dataProps => const [Tuple2('$ns:Data', '$ns:Mime')];
|
||||
|
|
|
@ -5,7 +5,7 @@ import 'package:aves/widgets/viewer/info/metadata/xmp_namespaces.dart';
|
|||
class XmpPhotoshopNamespace extends XmpNamespace {
|
||||
static const ns = 'photoshop';
|
||||
|
||||
XmpPhotoshopNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpPhotoshopNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
String get displayTitle => 'Photoshop';
|
||||
|
|
|
@ -8,7 +8,7 @@ class XmpTiffNamespace extends XmpNamespace {
|
|||
@override
|
||||
String get displayTitle => 'TIFF';
|
||||
|
||||
XmpTiffNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpTiffNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
String formatValue(XmpProp prop) {
|
||||
|
|
|
@ -114,7 +114,7 @@ class XmpNoteNamespace extends XmpNamespace {
|
|||
// `xmpNote:HasExtendedXMP` is structural and should not be displayed to users
|
||||
static const hasExtendedXmp = '$ns:HasExtendedXMP';
|
||||
|
||||
XmpNoteNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
const XmpNoteNamespace(Map<String, String> rawProps) : super(ns, rawProps);
|
||||
|
||||
@override
|
||||
bool extractData(XmpProp prop) {
|
||||
|
|
Loading…
Reference in a new issue