Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter floatingactionbutton position

Scaffold(
	floatingActionButton: FloatingActionButton(
        onPressed: () {
          // Add your onPressed code here!
        },
        child: const Icon(Icons.navigation),
      ),
      //BUTTON LOCATION
      floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
);
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #floatingactionbutton #position
ADD COMMENT
Topic
Name
9+6 =