FlexibleSpaceBar({Key key, Widget title, Widget background, bool centerTitle })

Creates a flexible space bar.

Most commonly used in the AppBar.flexibleSpace field. Requires one of its ancestors to be a Scaffold widget.

Source

FlexibleSpaceBar({
  Key key,
  this.title,
  this.background,
  this.centerTitle
}) : super(key: key);