Iconis a widget, so you can put inside the
childrenlist, just as below.
Iconsis defined by the flutter. If you can find them on their official website. You can browse them to choose which one you need. The
Icons.ac_unitjust use its name, but return
sizeset the size of the Icon. The
colorset the color of the Icon.It easy to understand. And It will show as follows.
icon, size,colorabove. Just retain
semanticleLabelis designed to describe the widgets, if you design an app for the blind man, you must consider this, when describing this widget, the phone will speak this string to the user.
TextDirection, if you look at the fore tutorial, you will be very familiar with this class. It controls the direction of the drawing. It has two choices.
Iconscan use this as the same effect. Let's see the definition
matchTextDirection = truecan effect when we set the
textDirectionparameter. Let's see an obverse example.
textDirectionmay be a bit difficult to other parameters. If you don't care about the condition for using the Icons. You may be failed. Good luck