📜  raisebutton 全宽颤动 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:08.778000             🧑  作者: Mango

代码示例1
FractionallySizedBox(
   widthFactor: 1, // means 100%, you can change this to 0.8 (80%)
     child: RaisedButton.icon(
     onPressed: () {
         print(comment);
     },
     label: Text('Edit Comment', style: TextStyle(color: Colors.white)),
     icon: Icon(Icons.check, color: Colors.white),
     ),
 ),