1-) FLUTTER - FloatingActionButton hazır widget kullanımı
1-) Resimli Float Action Button
Scaffold( floatingActionButton: FloatingActionButton.extended( onPressed: () { // Add your onPressed code here! }, label: Text('Approve'), icon: Icon(Icons.thumb_up), backgroundColor: Colors.pink, ),
)
2-) NORMAL Float Action Button
floatingActionButton: FloatingActionButton(onPressed: () {// Add your onPressed code here!},backgroundColor: Colors.green,child: Icon(Icons.navigation),),
3-) SOLA YASLAMAK
floatingActionButton: FloatingActionButton( onPressed: () { StatikSinif.urlTemizle().then((value) { Navigator.of(context).pushAndRemoveUntil( MaterialPageRoute(builder: (context) => MyApp()), (r) => false); }); }, tooltip: 'Logout', child: Icon(Icons.logout),),floatingActionButtonLocation: FloatingActionButtonLocation.startFloat,body: androidWebViewContent(),