spectrum 0.2.1+1 spectrum: ^0.2.1+1 copied to clipboard
A rainbow of Color and Gradient utilities. Interpolate gradients with a realized GradientTween. New type Steps & shaded varieties. Color generation & operators.
#
[0.2.1+1] - 26 JUL 21 #
Fixes README links and finishes documentation.
[0.2.1] - 25 JUL 21 #
Modularizes package into colors
& gradients
mini-libraries.
- Import all-in-one as
import 'package:spectrum/spectrum.dart';
- Or seperately such as
import 'package:spectrum/colors.dart';
Reverts usage of Dart @ 2.13 non-function type aliases (AKA typedef
s) as they
were throwing dartdoc
.
- "
failed: Bad state: typedef GradientStoryboard = Map<GradientAnimation, dynamic> cannot have parameters
"
Simplifies name of Color.generateComplements(5)
-> Color.complementary(5)
.
[0.2.0] - 23 JUL 21 #
Massive "fleshing out" of the project, establishing remaining goals.
- Added
FooShadedSteps
- Added
AnimatedGradient
- See also:
GradientStoryboard
,GradientAnimation
,GradientProperty
,TweenSpec
, & more
- See also:
- Added
GradientCopyWith
template- Used to override the return type for the
Gradient.copyWith
method used from within either aGradientTween
orAnimatedGradient
- Used to override the return type for the
- Introduced
Gradient
getterreversed
and convenience methodanimate()
- Introduced
isAgressive
flag forGradientTween
- For the generation of
MaterialColor
s viaSpectrum.materialColor
:Blend
->SwatchMode
with an additional value,SwatchMode.complements
- Consider
Spectrum.materialAccent
to create aMaterialAccentColor
- Color complements are obtained by new
SpectrumUtils.generateComplements
- Which drives the
List<Color>
getter extensions on instantiatedColor
s, too;Color.complementTriad
, for example
- Which drives the
[0.1.0] - 11 JUN 21 #
- Initial release.