INNER CODE UNIT · Dart
InteractiveGradient
bernaferrari/color-studio · lib/gradient.dart:77
class InteractiveGradient extends StatefulWidget {
final BoxConstraints constraints;
const InteractiveGradient(this.constraints, {super.key});
@override
_InteractiveGradientState createState() => _InteractiveGradientState();
}
class _InteractiveGradientState extends State<InteractiveGradient> {
late double x1;
late double y1;
late double x2;
late double y2;
double angle = 2;