only method

  1. @override
T only({
  1. ColorDto? color,
  2. double? size,
  3. double? weight,
  4. double? grade,
  5. double? opticalSize,
  6. List<ShadowDto>? shadows,
  7. double? fill,
  8. bool? applyTextScaling,
  9. AnimatedDataDto? animated,
})
override

Implementation

@override
T only({
  ColorDto? color,
  double? size,
  double? weight,
  double? grade,
  double? opticalSize,
  List<ShadowDto>? shadows,
  double? fill,
  bool? applyTextScaling,
  AnimatedDataDto? animated,
}) {
  return builder(
    IconSpecAttribute(
      size: size,
      color: color,
      weight: weight,
      grade: grade,
      opticalSize: opticalSize,
      shadows: shadows,
      fill: fill,
      applyTextScaling: applyTextScaling,
      animated: animated,
    ),
  );
}