buildMaterialWidget method

  1. @override
AppBar buildMaterialWidget(
  1. BuildContext context
)
override

Implementation

@override
AppBar buildMaterialWidget(BuildContext context) {
  return AppBar(
    automaticallyImplyLeading: automaticallyImplyLeading,
    leading: automaticallyImplyLeading
        ? _buildLeading(
            context: context,
            leading: leading,
            leadingOnPressed: leadingOnPressed,
            tintColor: tintColor,
          )
        : null,
    title: title,
    centerTitle: centerTitle,
    actions: actions ?? [],
    elevation: elevation,
    backgroundColor: backgroundColor,
    systemOverlayStyle:
        systemOverlayStyle ?? AppBarTheme.of(context).systemOverlayStyle,
  );
}