build method
- bool hinted = true,
- bool blur = false,
- bool big = false,
- bool expanded = false,
- bool opaque = false,
override
Builds the Widget representation of this CallButton.
Implementation
@override
Widget build({
bool hinted = true,
bool blur = false,
bool big = false,
bool expanded = false,
bool opaque = false,
}) {
final style = Theme.of(router.context!).style;
return CallButtonWidget(
hint: hint,
asset: SvgIcons.callEndBig,
color:
opaque
? style.colors.declineOpacity88
: style.colors.declineOpacity50,
hinted: hinted,
expanded: expanded,
withBlur: blur,
big: big,
constrained: c.isMobile,
opaque: opaque,
onPressed: c.drop,
);
}