FlutterLogoDecoration constructor
- Color textColor = const Color(0xFF757575),
- FlutterLogoStyle style = FlutterLogoStyle.markOnly,
- EdgeInsets margin = EdgeInsets.zero,
Creates a decoration that knows how to paint Flutter's logo.
The style
controls whether and where to draw the "Flutter" label. If one
is shown, the textColor
controls the color of the label.
Implementation
const FlutterLogoDecoration({
this.textColor = const Color(0xFF757575),
this.style = FlutterLogoStyle.markOnly,
this.margin = EdgeInsets.zero,
}) : _position = identical(style, FlutterLogoStyle.markOnly) ? 0.0 : identical(style, FlutterLogoStyle.horizontal) ? 1.0 : -1.0,
_opacity = 1.0;