modify method

NavigationBarProperties modify({
  1. bool? contrastEnforced,
  2. Color? color,
  3. Color? dividerColor,
  4. Brightness? brightness,
  5. bool? transparency,
})

Implementation

NavigationBarProperties modify({
  bool? contrastEnforced,
  Color? color,
  Color? dividerColor,
  Brightness? brightness,
  bool? transparency,
}) {
  return NavigationBarProperties(
    contrastEnforced: contrastEnforced ?? this.contrastEnforced,
    color: color ?? this.color,
    dividerColor: dividerColor ?? this.dividerColor,
    brightness: brightness ?? this.brightness,
    transparency: transparency ?? this.transparency,
  );
}