MBorderRadius.set constructor
MBorderRadius.set({
- dynamic topStart = 0.0,
- dynamic topEnd = 0.0,
- dynamic bottomEnd = 0.0,
- dynamic bottomStart = 0.0,
- dynamic start = 0.0,
- dynamic end = 0.0,
- dynamic top = 0.0,
- dynamic bottom = 0.0,
- 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),
);