Intermediate Flutter
Q49 / 100

What is ThemeData in Flutter?

Correct! Well done.

Incorrect.

The correct answer is B) A class holding colors, typography, and component styles for the app, set in MaterialApp and accessed via Theme.of(context)

B

Correct Answer

A class holding colors, typography, and component styles for the app, set in MaterialApp and accessed via Theme.of(context)

Explanation

ThemeData defines the visual properties of a Material app: color scheme, typography, button styles, input decoration themes, and more. It is set in MaterialApp's theme parameter and accessed anywhere via Theme.of(context).

Progress
49/100