ToolbarSimpleFastor constructor

ToolbarSimpleFastor(
  1. BuildContext pageContext,
  2. String title, {
  3. ValueChanged<bool>? onClickListener,
  4. bool hideBackButton = false,
  5. Widget? buttonLeft,
  6. Widget? buttonRight,
  7. Color? titleColor,
  8. EdgeInsets? titleMargin,
  9. double? iconSize,
  10. 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;
}