Sobes.tech
Intern

What is the FlutterLogo widget used for?

sobes.tech AI

Answer from AI

The FlutterLogo widget is designed to display the official Flutter logo.

It is used to visually indicate that an app or component is built with Flutter. It is often used as a placeholder, temporary stand-in, or for demonstration purposes.

Main parameters:

  • size: Defines the size of the logo.
  • textColor: The color for the "Flutter" text (if displayed).
  • style: Sets the display style of the logo (logo only, logo with text horizontally, vertically).
  • duration: Duration of the animation when changing parameters (e.g., size).
  • curve: The animation curve.

Example usage:

FlutterLogo(
  size: 100.0,
  textColor: Colors.blue,
  style: FlutterLogoStyle.horizontal,
)
What is the FlutterLogo widget used for? — Flutter - sobes.tech