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 typedefs) 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
GradientCopyWithtemplate- Used to override the return type for the
Gradient.copyWithmethod used from within either aGradientTweenorAnimatedGradient
- Used to override the return type for the
- Introduced
Gradientgetterreversedand convenience methodanimate() - Introduced
isAgressiveflag forGradientTween - For the generation of
MaterialColors viaSpectrum.materialColor:Blend->SwatchModewith an additional value,SwatchMode.complements- Consider
Spectrum.materialAccentto create aMaterialAccentColor
- Color complements are obtained by new
SpectrumUtils.generateComplements- Which drives the
List<Color>getter extensions on instantiatedColors, too;Color.complementTriad, for example
- Which drives the
0.1.0 11 JUN 21 #
- Initial release.