CommonAppBar(- {Key? key,
- String? title,
- bool? showBackButton,
- bool showSearchAction = true,
- Function? onPressedBack,
- Color borderColor = const Color.fromARGB(255, 242, 244, 246),
- Color titleColor = Colors.black,
- Color backgroundColor = Colors.white,
- bool rootNavigator = false}
)
Implementation
CommonAppBar({
Key? key,
this.title,
this.showBackButton,
this.showSearchAction = true,
this.onPressedBack,
this.borderColor = const Color.fromARGB(255, 242, 244, 246),
this.titleColor = Colors.black,
this.backgroundColor = Colors.white,
this.rootNavigator = false,
}) : preferredSize = Size.fromHeight(AppConstants.APPBAR_HEIGHT),
super(key: key);