themed static method

Icon themed(
  1. IconData icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
})

Creates an icon with custom color from theme

Implementation

static Icon themed(
  IconData icon, {
  Key? key,
  double? size,
  Color? color,
  String? semanticLabel,
  TextDirection? textDirection,
}) {
  return Icon(
    icon,
    key: key,
    size: size,
    color: color,
    semanticLabel: semanticLabel,
    textDirection: textDirection,
  );
}