AuthAppBar constructor

AuthAppBar({
  1. Key? key,
  2. required double toolbarHeight,
  3. bool disableBackButton = false,
  4. Color? backgroundColor,
  5. SystemUiOverlayStyle? systemUiOverlayStyle,
})

Implementation

AuthAppBar(
    {Key? key,
    required double toolbarHeight,
    bool disableBackButton = false,
    Color? backgroundColor,
    SystemUiOverlayStyle? systemUiOverlayStyle})
    : super(
        flexibleSpace: disableBackButton
            ? const _AuthAppBar(disableBackButton: true)
            : const _AuthAppBar(disableBackButton: false),
        key: key,
        toolbarHeight: toolbarHeight,
        automaticallyImplyLeading: false,
        backgroundColor: backgroundColor,
        systemOverlayStyle: systemUiOverlayStyle,
      );