only method

  1. @override
T only({
  1. Radius? topStart,
  2. Radius? topEnd,
  3. Radius? bottomStart,
  4. Radius? bottomEnd,
})
override

Creates a BorderRadiusGeometryDto with the specified radius values for each corner.

The topStart parameter represents the radius of the top-left corner. The topEnd parameter represents the radius of the top-right corner. The bottomStart parameter represents the radius of the bottom-left corner. The bottomEnd parameter represents the radius of the bottom-right corner.

Returns the created T object.

Implementation

@override
T only({
  Radius? topStart,
  Radius? topEnd,
  Radius? bottomStart,
  Radius? bottomEnd,
}) {
  return builder(
    BorderRadiusGeometryDto(
      topStart: topStart,
      topEnd: topEnd,
      bottomStart: bottomStart,
      bottomEnd: bottomEnd,
    ),
  );
}