IconAppBar.skeleton constructor

IconAppBar.skeleton({
  1. Key? key,
  2. double height = kToolbarHeight,
})

Implementation

IconAppBar.skeleton({
  super.key,
  this.height = kToolbarHeight,
}) : appBar = Builder(
        builder: (BuildContext context) => AppBar(
          centerTitle: true,
          leading: ButtonBox(
            onTap: context.pop,
            padding: Insets.h16v12,
            child: Assets.icons.arrowLeft.svg(),
          ),
          title: const SizedBox.shrink(),
        ),
      );