ToolbarSimpleFastor constructor
ToolbarSimpleFastor(
- BuildContext pageContext,
- String title, {
- ValueChanged<
bool> ? onClickListener, - bool hideBackButton = false,
- Widget? buttonLeft,
- Widget? buttonRight,
- Color? titleColor,
- EdgeInsets? titleMargin,
- double? iconSize,
- Color? iconColorBack,
Implementation
ToolbarSimpleFastor(
this.pageContext, this.title ,{
ValueChanged<bool>? this.onClickListener,
bool hideBackButton = false,
Widget? buttonLeft,
Widget? buttonRight,
this.titleColor,
this.titleMargin,
this.iconSize,
this.iconColorBack
} ) {
//set values
this.hideBackButton = hideBackButton;
this.buttonLeft = buttonLeft;
this.buttonRight = buttonRight;
iconColorBack ??= Colors.grey;
iconSize ??= 20;
// Log.i( "ToolbarSimple - myTitle: $myTitle /onClickListener: $onClickListener");
titleColor ??= DSColor.toolbar_title;
}