SearchBarIcon constructor

const SearchBarIcon({
  1. Widget? icon,
  2. VoidCallback? onTap,
  3. String? label,
  4. EdgeInsetsGeometry? padding,
  5. Key? key,
})

Implementation

const SearchBarIcon({
  this.icon,
  this.onTap,
  this.label,
  this.padding,
  super.key,
}) : assert(label == null || onTap != null);