Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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),
     ),
 ),
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #raisedbutton #full #width #flutter
ADD COMMENT
Topic
Name
6+2 =