MBorderRadius.set constructor

MBorderRadius.set({
  1. dynamic topStart = 0.0,
  2. dynamic topEnd = 0.0,
  3. dynamic bottomEnd = 0.0,
  4. dynamic bottomStart = 0.0,
  5. dynamic start = 0.0,
  6. dynamic end = 0.0,
  7. dynamic top = 0.0,
  8. dynamic bottom = 0.0,
  9. dynamic all = 0.0,
})

Implementation

MBorderRadius.set({
  topStart = 0.0,
  topEnd = 0.0,
  bottomEnd = 0.0,
  bottomStart = 0.0,
  start = 0.0,
  end = 0.0,
  top = 0.0,
  bottom = 0.0,
  all = 0.0,
}) : super.only(
        topStart: Radius.circular(topStart + start + all + top),
        topEnd: Radius.circular(topEnd + end + all + top),
        bottomStart: Radius.circular(bottomStart + start + all + bottom),
        bottomEnd: Radius.circular(bottomEnd + end + all + bottom),
      );