#flutterapps #fluttertutorials #fluttervideos
Join my Flutter Whatsapp Group
https://chat.whatsapp.com/JnJXVhSwV5f...
Please subscribe for more videos.
Flutter Mobile Apps - How to use Flat Buttons
In Flutter, FlatButton is usually used to display buttons that lead to secondary functionalities of the application like viewing all files of Gallery, opening Camera, changing permissions etc.
FlatButton has been depreciated. Please use TextButton instead.
FlatButton does not have an elevation unlike Raised Button. Also, by default, there is no color to the button and text is black.
But you may provide color to the text and button using textColor and color respectively.
You can access the callback function onPressed() when the FlatButton is pressed.