BaseFieldIconPicker constructor

const BaseFieldIconPicker({
  1. Key? key,
  2. String? label,
  3. String? value,
  4. double fontSize = 18,
  5. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12),
  6. double width = 40,
  7. double height = 40,
  8. Border? border,
  9. BorderRadius? borderRadius,
  10. Color? background,
  11. bool isSolid = true,
  12. bool? isError,
  13. void onChanged(
    1. String?
    )?,
})

Implementation

const BaseFieldIconPicker({
  super.key,

  // label
  this.label,

  // value
  this.value,
  this.fontSize = 18,
  this.padding = const EdgeInsets.symmetric(
    horizontal: 12,
  ),

  // appearance
  this.width = 40,
  this.height = 40,
  this.border,
  this.borderRadius,
  this.background,
  this.isSolid = true,
  this.isError,

  // behaviour
  this.onChanged,
});