buildIcon method

Widget? buildIcon(
  1. bool isActive,
  2. double? size,
  3. Color? color
)

Builds the icon for the tile. @param isActive - True if the tile is active. @param size - The size of the icon. @param color - The color of the icon. @return The icon widget.

Implementation

Widget? buildIcon(bool isActive, double? size, Color? color) => iconBuilder?.call(isActive, size, color);