INNER CODE UNIT · Dart

AuroraPainter

flutterfx/flutterfx_widgets · lib/background-aurora/aurora_widget.dart:5

class AuroraPainter extends CustomPainter {
  final double progress;
  final bool isDark;
  final bool showRadialGradient;

  AuroraPainter({
    required this.progress,
    required this.isDark,
    required this.showRadialGradient,
  });

  @override
  void paint(Canvas canvas, Size size) {
    final rect = Offset.zero & size;
    
    // Background color
    canvas.drawRect(
      rect,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…