How to underline text in flutter?

Posted by Rohit Kumar | Updated on | Flutter


Want to underline text in flutter? TextSpan is a little strange. The text parameter is the default style but the children list contains the styled (and possibly unstyled) text that follow it. You can use …

Flutter SDK to Set Background image

Posted by Jennifer | Updated on | Flutter


Flutter SDK to Set Background image. I’m not sure I understand your question, but if you want the image to fill the entire screen you can use a DecorationImage with a fit of BoxFit.cover.

How to use local flutter package in another flutter application?

Posted by Ramesh Singh | Updated on | Flutter


Want to use local flutter package in another flutter application? locate this file in your flutter application => pubspec.yaml make local dependency:

How to create Toast in Flutter?

Posted by Rohit Kumar | Updated on | Flutter


If you want to create Toast in Flutter? You can access the parent ScaffoldState using Scaffold.of(context), Then do something like below example:

How to use hexadecimal color strings in Flutter?

Posted by Jessica Taylor | Updated on | Flutter


Want to use hexadecimal color strings in Flutter? The Color class expects an ARGB integer. Since you try to use it with RGB value, represent it as int and prefix it with 0xff. If you …