flutter hide floating action button code example
Example: set floating action button invisible flutter
floatingActionButton: new Visibility(
visible: false,
child: new FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: new Icon(Icons.add),
),
),