buildMaterialWidget method

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

Implementation

@override
SliverAppBar buildMaterialWidget(BuildContext context) {
  return SliverAppBar(
    automaticallyImplyLeading: false,
    leading: automaticallyImplyLeading
        ? _buildLeading(
            context: context,
            leading: leading,
            leadingOnPressed: leadingOnPressed,
            tintColor: tintColor,
          )
        : null,
    title: title,
    actions: actions ?? [],
    elevation: elevation,
    backgroundColor: backgroundColor,
    pinned: pinned,
    expandedHeight: expandedHeight,
    flexibleSpace: flexibleSpace,
    systemOverlayStyle:
        systemOverlayStyle ?? AppBarTheme.of(context).systemOverlayStyle,
    forceMaterialTransparency: forceMaterialTransparency,
  );
}