setNavigationBarColor static method

Future<void> setNavigationBarColor(
  1. Color color, {
  2. bool animate = false,
})

Android only

Set the navigation bar background color. The alpha of the input color will be ignoreed because of flutter's android layout.

Implementation

static Future<void> setNavigationBarColor(
  Color color, {
  bool animate = false,
}) =>
    _channel.invokeMethod('setnavigationbarcolor', {
      'color': color.value,
      'animate': animate,
    });