float buton not hiding flutter 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),
),
),