status static method

AppBar status(
  1. BuildContext context, {
  2. bool hidden = false,
})

Implementation

static AppBar status(
  BuildContext context, {
  bool hidden = false,
}) =>
    AppBar(
      toolbarHeight: context.viewInsets.top.abs(),
      elevation: hidden ? context.appBarElevation : 0,
    );