copyWith method

ToolBarItem copyWith({
  1. bool? isActive,
})

toolbar item copyWith function

Implementation

ToolBarItem copyWith({
  bool? isActive,
}) {
  return ToolBarItem(
      style: style,
      isActive: isActive ?? this.isActive,
      padding: padding,
      iconSize: iconSize,
      iconColor: iconColor,
      activeIconColor: activeIconColor);
}