Use the MdiIcons class for the IconData. 7. icon: new Icon(MdiIcons.sword),. 8. onPressed: () { print('Using the sword'); }.
確定! 回上一頁