BaseToolbar.search constructor
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,
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,
);