getAppBar method

Widget getAppBar(
  1. BuildContext context
)

Implementation

Widget getAppBar(BuildContext context) {
  ThemeData themeData = Theme.of(context);
  return Container(
    decoration: BoxDecoration(
      color: _appBarColor != null ? _appBarColor : themeData.primaryColor,
    ),
    height: getAppBarHeight(),
    width: double.infinity,
    child: Row(
      children: <Widget>[
        getAppBarLeft(context),
        Expanded(child: getAppBarCenter(context)),
        getAppBarRight(context)
      ],
    ),
  );
}