File tree Expand file tree Collapse file tree 6 files changed +8
-20
lines changed
Expand file tree Collapse file tree 6 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ packages:
4949 name: eo_color
5050 url: "https://pub.dartlang.org"
5151 source: hosted
52- version: "1.0.0 "
52+ version: "1.1.2 "
5353 fake_async:
5454 dependency: transitive
5555 description:
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ environment:
99 sdk : " >=2.12.0 <3.0.0"
1010
1111dependencies :
12- eo_color : ^1.0.0
12+ eo_color : ^1.1.2
1313 flutter :
1414 sdk : flutter
1515
Original file line number Diff line number Diff line change 1- import 'dart:ui' ;
2-
3- import 'package:eo_color/swatches.dart' ;
1+ import 'package:eo_color/gradients.dart' ;
42
53import 'google.dart' ;
64
75/// Google gradient.
8- class GoogleGrad extends SwatchBase {
6+ class GoogleGrad extends GradientImmu {
97 /// Google's official color sequence
108 ///
119 /// There are 4 valid indexes
@@ -24,8 +22,4 @@ class GoogleGrad extends SwatchBase {
2422 Google .green (),
2523 ]);
2624 // coverage:ignore-end
27-
28- /// color gradient as an immutable list
29- @override
30- List <Color > get colors => List .unmodifiable (super .colors);
3125}
Original file line number Diff line number Diff line change 1- import 'dart:ui' ;
2-
3- import 'package:eo_color/swatches.dart' ;
1+ import 'package:eo_color/gradients.dart' ;
42
53import 'instagram.dart' ;
64
75/// Instagram gradient.
8- class InstagramGrad extends SwatchBase {
6+ class InstagramGrad extends GradientImmu {
97 /// Instagram's official color sequence
108 ///
119 /// There are 10 valid indexes
@@ -36,8 +34,4 @@ class InstagramGrad extends SwatchBase {
3634 Instagram .lightYellow (),
3735 ]);
3836 // coverage:ignore-end
39-
40- /// color gradient as an immutable list
41- @override
42- List <Color > get colors => List .unmodifiable (super .colors);
4337}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ packages:
4949 name: eo_color
5050 url: "https://pub.dartlang.org"
5151 source: hosted
52- version: "1.0.0 "
52+ version: "1.1.2 "
5353 fake_async:
5454 dependency: transitive
5555 description:
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ environment:
99 flutter : " >=1.17.0"
1010
1111dependencies :
12- eo_color : ^1.0.0
12+ eo_color : ^1.1.2
1313 flutter :
1414 sdk : flutter
1515
You can’t perform that action at this time.
0 commit comments