Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

rectangualr fab in flutter

FloatingActionButton.extended offers a wide FAB, usually with an icon and a label inside it.
Instead of a child parameter, we now have label and icon parameters.

FloatingActionButton.extended(
  onPressed: () {},
  icon: Icon(Icons.save),
  label: Text("Save"),
),
Source by proandroiddev.com #
 
PREVIOUS NEXT
Tagged: #rectangualr #fab #flutter
ADD COMMENT
Topic
Name
3+3 =