BaseToolbar.search constructor

const BaseToolbar.search({
  1. Key? key,
  2. List<BaseToolbarAction>? leading,
  3. List<BaseToolbarAction>? trailing,
  4. required CNSearchConfig searchConfig,
  5. CNSymbol? contextIcon,
  6. Color? tint,
  7. bool transparent = false,
  8. double? height,
  9. double? pillHeight,
  10. Color? backgroundColor,
  11. BaseParam? baseParam,
})

Factory constructor for search-enabled toolbar

Implementation

const BaseToolbar.search({
  Key? key,
  List<BaseToolbarAction>? leading,
  List<BaseToolbarAction>? trailing,
  required CNSearchConfig searchConfig,
  CNSymbol? contextIcon,
  Color? tint,
  bool transparent = false,
  double? height,
  double? pillHeight,
  Color? backgroundColor,
  BaseParam? baseParam,
}) : this(
       key: key,
       leading: leading,
       trailing: trailing,
       searchConfig: searchConfig,
       contextIcon: contextIcon,
       tint: tint,
       transparent: transparent,
       height: height,
       pillHeight: pillHeight,
       backgroundColor: backgroundColor,
       baseParam: baseParam,
     );