TailorAppBar constructor

const TailorAppBar({
  1. Key? key,
  2. Widget child = const SizedBox.shrink(),
  3. required TailorWidgetBuilder builder,
  4. Size preferredSize = const Size.fromHeight(kToolbarHeight),
})

Wrap your AppBar with Tailor and get the size of the AppBar with builder

Implementation

const TailorAppBar({
  super.key,
  super.child = const SizedBox.shrink(),
  required this.builder,
  super.preferredSize = const Size.fromHeight(kToolbarHeight),
});