📱 Flutter
Beginner
What is the Icon widget?
Answer
The Icon widget renders a Material Design icon from the built-in Icons collection, which includes hundreds of common icons. You specify the icon with Icons.home, Icons.search, etc., and control its size, color, and semanticLabel. For custom SVG or image icons, use ImageIcon instead. Icons are rendered as font glyphs, making them sharp at any resolution.
Previous
What is the difference between final and const in Dart?
Next
What is the FloatingActionButton widget?