only method

  1. @override
T only({
  1. ColorDto? color,
  2. Offset? offset,
  3. double? blurRadius,
})
override

Creates a new Attribute with the specified properties.

Any properties not specified will be set to their default values.

Implementation

@override
T only({ColorDto? color, Offset? offset, double? blurRadius}) {
  return builder(
    ShadowDto(blurRadius: blurRadius, color: color, offset: offset),
  );
}