Answers for "How to attach a FloatingActionButton to the AppBar"

4

How to attach a FloatingActionButton to the AppBar

Scaffold(
      floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.add),
        onPressed: (){},
      ),
    );
Posted by: Guest on August-22-2021
1

How to attach a FloatingActionButton to the AppBar

Scaffold(
      floatingActionButtonLocation: FloatingActionButtonLocation.endTop,
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.add),
        onPressed: (){},
      ),
    );
Posted by: Guest on August-22-2021

Code answers related to "How to attach a FloatingActionButton to the AppBar"

Code answers related to "Dart"

Browse Popular Code Answers by Language