setAppBarVisibility method
Set the app bar visibility dynamically.
This method allows you to show or hide the app bar at runtime.
Parameters:
visible- Whether the app bar should be visible
Returns true if the visibility was set successfully, false otherwise.
Implementation
Future<bool> setAppBarVisibility({required bool visible}) {
throw UnimplementedError('setAppBarVisibility() has not been implemented.');
}