build method

  1. @override
Widget build({
  1. bool hinted = true,
  2. bool big = false,
  3. bool expanded = false,
})
override

Builds the Widget representation of this CallButton.

Implementation

@override
Widget build({bool hinted = true, bool big = false, bool expanded = false}) {
  return CallButtonWidget(
    hint: hint,
    asset: SvgIcons.callReconnect,
    hinted: hinted,
    expanded: expanded,
    big: big,
    constrained: c.isMobile,
    onPressed: () => MediaUtils.ensureReconnected(),
    builder: (_, child) {
      return AnimatedRotatedButton(child: child);
    },
  );
}