appBarBuilder property Null safety

(PreferredSizeWidget Function?(BuildContext context, AppBarData state)?) appBarBuilder
final

Use this to build the footer of all descendant pages. Example usage:

footerBuilder: (context, data) {
  return AppBar(
    leading: IconButton(
      onPressed: data.onTapLeading,
      icon: Icon(data.icon),
    ),
  );
}

Implementation

final PreferredSizeWidget Function(BuildContext context, AppBarData state)?
    appBarBuilder;