Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

text button flutter

TextButton.icon({
  Key key, 
  @required VoidCallback onPressed, 
  VoidCallback onLongPress, 
  ButtonStyle style, 
  FocusNode focusNode, 
  bool autofocus, 
  Clip clipBehavior, 
  @required Widget icon, 
  @required Widget label
})
// Example:
TextButton.icon(
            icon: Icon(Icons.camera),
            label: Text('Take A Photo'),
            onPressed: () {},
          )
Source by docs.flutter.dev #
 
PREVIOUS NEXT
Tagged: #text #button #flutter
ADD COMMENT
Topic
Name
3+4 =