Question : flutter flotingactionbutton position
Answered by : sore-serval-d2a40v4h8jp2
Scaffold( floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat, floatingActionButton: FloatingActionButton( child: const Icon(Icons.add), onPressed: (){}, ), );
Source : https://api.flutter.dev/flutter/material/FloatingActionButtonLocation-class.html | Last Update : Sun, 29 Aug 21
Question : flutter floatingactionbutton position
Answered by : envious-eagle-z89js4glvsgs
Scaffold( floatingActionButton: FloatingActionButton( onPressed: () { // Add your onPressed code here! }, child: const Icon(Icons.navigation), ), //BUTTON LOCATION floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
);
Source : | Last Update : Thu, 15 Jul 21