FlutterLogo constructor

const FlutterLogo({
  1. Key? key,
  2. double? size,
  3. Color textColor = const Color(0xFF757575),
  4. FlutterLogoStyle style = FlutterLogoStyle.markOnly,
  5. Duration duration = const Duration(milliseconds: 750),
  6. Curve curve = Curves.fastOutSlowIn,
})

Creates a widget that paints the Flutter logo.

The size defaults to the value given by the current IconTheme.

The textColor, style, duration, and curve arguments must not be null.

Implementation

const FlutterLogo({
  super.key,
  this.size,
  this.textColor = const Color(0xFF757575),
  this.style = FlutterLogoStyle.markOnly,
  this.duration = const Duration(milliseconds: 750),
  this.curve = Curves.fastOutSlowIn,
});