background property
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;