|
1 | | -// @dart = 2.10 |
2 | 1 | /// GENERATED CODE - DO NOT MODIFY BY HAND |
3 | 2 | /// ***************************************************** |
4 | 3 | /// FlutterGen |
@@ -98,20 +97,20 @@ class AssetGenImage extends AssetImage { |
98 | 97 | final String _assetName; |
99 | 98 |
|
100 | 99 | Image image({ |
101 | | - Key key, |
102 | | - ImageFrameBuilder frameBuilder, |
103 | | - ImageLoadingBuilder loadingBuilder, |
104 | | - ImageErrorWidgetBuilder errorBuilder, |
105 | | - String semanticLabel, |
| 100 | + Key? key, |
| 101 | + ImageFrameBuilder? frameBuilder, |
| 102 | + ImageLoadingBuilder? loadingBuilder, |
| 103 | + ImageErrorWidgetBuilder? errorBuilder, |
| 104 | + String? semanticLabel, |
106 | 105 | bool excludeFromSemantics = false, |
107 | | - double width, |
108 | | - double height, |
109 | | - Color color, |
110 | | - BlendMode colorBlendMode, |
111 | | - BoxFit fit, |
| 106 | + double? width, |
| 107 | + double? height, |
| 108 | + Color? color, |
| 109 | + BlendMode? colorBlendMode, |
| 110 | + BoxFit? fit, |
112 | 111 | AlignmentGeometry alignment = Alignment.center, |
113 | 112 | ImageRepeat repeat = ImageRepeat.noRepeat, |
114 | | - Rect centerSlice, |
| 113 | + Rect? centerSlice, |
115 | 114 | bool matchTextDirection = false, |
116 | 115 | bool gaplessPlayback = false, |
117 | 116 | bool isAntiAlias = false, |
@@ -149,19 +148,19 @@ class SvgGenImage { |
149 | 148 | final String _assetName; |
150 | 149 |
|
151 | 150 | SvgPicture svg({ |
152 | | - Key key, |
| 151 | + Key? key, |
153 | 152 | bool matchTextDirection = false, |
154 | | - AssetBundle bundle, |
155 | | - String package, |
156 | | - double width, |
157 | | - double height, |
| 153 | + AssetBundle? bundle, |
| 154 | + String? package, |
| 155 | + double? width, |
| 156 | + double? height, |
158 | 157 | BoxFit fit = BoxFit.contain, |
159 | 158 | AlignmentGeometry alignment = Alignment.center, |
160 | 159 | bool allowDrawingOutsideViewBox = false, |
161 | | - WidgetBuilder placeholderBuilder, |
162 | | - Color color, |
| 160 | + WidgetBuilder? placeholderBuilder, |
| 161 | + Color? color, |
163 | 162 | BlendMode colorBlendMode = BlendMode.srcIn, |
164 | | - String semanticsLabel, |
| 163 | + String? semanticsLabel, |
165 | 164 | bool excludeFromSemantics = false, |
166 | 165 | Clip clipBehavior = Clip.hardEdge, |
167 | 166 | }) { |
@@ -194,18 +193,18 @@ class FlareGenImage { |
194 | 193 | final String _assetName; |
195 | 194 |
|
196 | 195 | FlareActor flare({ |
197 | | - String boundsNode, |
198 | | - String animation, |
| 196 | + String? boundsNode, |
| 197 | + String? animation, |
199 | 198 | BoxFit fit = BoxFit.contain, |
200 | 199 | Alignment alignment = Alignment.center, |
201 | 200 | bool isPaused = false, |
202 | 201 | bool snapToEnd = false, |
203 | | - FlareController controller, |
204 | | - FlareCompletedCallback callback, |
205 | | - Color color, |
| 202 | + FlareController? controller, |
| 203 | + FlareCompletedCallback? callback, |
| 204 | + Color? color, |
206 | 205 | bool shouldClip = true, |
207 | 206 | bool sizeFromArtboard = false, |
208 | | - String artboard, |
| 207 | + String? artboard, |
209 | 208 | bool antialias = true, |
210 | 209 | }) { |
211 | 210 | return FlareActor( |
|
0 commit comments