File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ import 'package:flutter/material.dart' ;
2
+
3
+ @immutable
4
+ class ImageProperties {
5
+ final String semanticLabel;
6
+ final bool excludeFromSemantics;
7
+ final double width;
8
+ final double height;
9
+ final Color color;
10
+ final BlendMode colorBlendMode;
11
+ final BoxFit fit;
12
+ final AlignmentGeometry alignment;
13
+ final ImageRepeat repeat;
14
+ final Rect centerSlice;
15
+ final bool matchTextDirection;
16
+ final bool gaplessPlayback;
17
+ final FilterQuality filterQuality;
18
+ final double scale;
19
+
20
+ const ImageProperties (
21
+ {this .scale = 1 ,
22
+ this .semanticLabel,
23
+ this .excludeFromSemantics = false ,
24
+ this .width,
25
+ this .height,
26
+ this .color,
27
+ this .colorBlendMode,
28
+ this .fit,
29
+ this .alignment = Alignment .center,
30
+ this .repeat = ImageRepeat .noRepeat,
31
+ this .centerSlice,
32
+ this .matchTextDirection = false ,
33
+ this .gaplessPlayback = false ,
34
+ this .filterQuality = FilterQuality .low});
35
+ }
You can’t perform that action at this time.
0 commit comments