AppBarTheme constructor

const AppBarTheme({
  1. double height = 40.0,
  2. double shadowHeight = 16.0,
  3. BoxDecoration shadowBoxDecoration = const BoxDecoration(gradient: LinearGradient(colors: [Color.fromRGBO(0, 0, 0, 0.15), Colors.transparent], begin: Alignment.bottomCenter, end: Alignment.topCenter)),
})

Implementation

const AppBarTheme({
  this.height = 40.0,
  this.shadowHeight = 16.0,
  this.shadowBoxDecoration = const BoxDecoration(
    gradient: LinearGradient(
      colors: [
        Color.fromRGBO(0, 0, 0, 0.15),
        Colors.transparent,
      ],
      begin: Alignment.bottomCenter,
      end: Alignment.topCenter,
    ),
  ),
});