Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

How to attach a FloatingActionButton to the AppBar

Scaffold(
      floatingActionButtonLocation: FloatingActionButtonLocation.endTop,
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.add),
        onPressed: (){},
      ),
    );
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #How #attach #FloatingActionButton #AppBar
ADD COMMENT
Topic
Name
4+4 =