closeIcon property

(Widget Function()?) closeIcon
final

For example,

RangeInput(
  ...
  id="range-input",
  closeIcon: () {
    return const Text(
      "X",
      style: TextStyle(
        fontWeight: FontWeight.bold,
        fontSize: 16.0,
        color: Colors.red,
      ),
     );
    },

Implementation

final Widget Function()? closeIcon;