background property

(BoxDecoration Function(BuildContext context)?) background
final

The BoxDecoration that will be shown behind AppBar during transition.

Default: backgroundBoxDecoration - LinearGradient Use null for static color.

Implementation

final BoxDecoration Function(BuildContext context)? background;