File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ linter:
36
36
- avoid_private_typedef_functions
37
37
- avoid_redundant_argument_values
38
38
- avoid_renaming_method_parameters
39
- - avoid_returning_null
40
- - avoid_returning_null_for_future
41
39
- avoid_returning_null_for_void
42
40
- avoid_returning_this
43
41
- avoid_single_cascade_in_expression_statements
Original file line number Diff line number Diff line change @@ -176,13 +176,14 @@ class Image extends Iterable<Pixel> {
176
176
/// Create an image from raw data in [bytes] .
177
177
///
178
178
/// [format] defines the data type of pixel channel values. [Format] .uint8
179
- /// is the most typical format for images, where each pixel value is an unsigned
180
- /// byte with values in the range [0, 255] .
179
+ /// is the most typical format for images, where each pixel value is an
180
+ /// unsigned byte with values in the range [0, 255] .
181
181
///
182
182
/// [rowStride] is the row stride, in bytes, of the source data [bytes] .
183
183
/// This may be different than the rowStride of the [Image] , as some data
184
- /// sources align rows to different byte alignments and include padding. [byteOffset]
185
- /// can be specified to start reading the [bytes] data starting from that value.
184
+ /// sources align rows to different byte alignments and include padding.
185
+ /// [bytesOffset] can be specified to start reading the [bytes] data starting
186
+ /// from that value.
186
187
///
187
188
/// [numChannels] can be used to specify the number of pixel channels in the
188
189
/// [bytes] data, defaulting to 3.
You can’t perform that action at this time.
0 commit comments