gymClassParachute constant
SweepSteps
const gymClassParachute
A multicolored SweepSteps that looks like a children's gymnasium teamwork-activity parachute.
To create a new SweepSteps
that has these colors,
consider Foils.gymClassParachute.copyWith(...)
, such as:
copyWith(startAngle: 0.0, endAngle: 0.5 * 3.1416) // 0.5 * math.pi // To use math.pi: import 'dart:math' as math`;
to align the four colors differently.
See gymClassParachute for a sweep with hard steps.
Implementation
static const gymClassParachute = SweepSteps(
tileMode: TileMode.repeated,
startAngle: -0.0625 * math.pi,
endAngle: 0.4375 * math.pi, // ΒΌ rotation + TileMode.repeated
/// full rotation
// startAngle: 0.0,
// endAngle: 2.0 * math.pi,
colors: <Color>[
Color(0xFFEA4335),
// Color(0xFFB65BF7), // additional purple, but not "classic"
Color(0xFF4285F4),
Color(0xFFFBBC05),
Color(0xFF34A853),
// Color(0xFFEB679C), // additional pink, but not "classic"
],
);