buildExpand method

Widget buildExpand(
  1. VoidCallback onTap
)

Implementation

Widget buildExpand(VoidCallback onTap) {
  return CupertinoButton(
    padding: EdgeInsets.zero,
    onPressed: onTap,
    child: SizedBox(
      width: 44,
      height: 44,
      child: widget.isFullScreen
          ? const Icon(
              Icons.fullscreen_exit,
              color: Colors.white,
            )
          : const Icon(
              Icons.fullscreen,
              color: Colors.white,
            ),
    ),
  );
}