Answers for "raisedbutton full width flutter"

0

raisedbutton full width flutter

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),
     ),
 ),
Posted by: Guest on September-24-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language