getTopBar method

Widget getTopBar(
  1. BuildContext context
)

subclass can overwrite

Implementation

Widget getTopBar(BuildContext context) {
  ThemeData themeData = Theme.of(context);
  return Container(
    decoration: BoxDecoration(
      color: _topBarColor != null ? _topBarColor : themeData.primaryColor,
    ),
    height: getTopBarHeight(),
    width: double.infinity,
  );
}