backButton method
The back button near to the shootingButton. 靠近拍照键的返回键
Implementation
Widget backButton(BuildContext context, BoxConstraints constraints) {
return InkWell(
borderRadius: maxBorderRadius,
onTap: Navigator.of(context).pop,
child: Container(
margin: const EdgeInsets.all(10.0),
width: 27,
height: 27,
decoration: const BoxDecoration(
color: Colors.white,
shape: BoxShape.circle,
),
child: const Center(
child: Icon(
Icons.keyboard_arrow_down,
color: Colors.black,
),
),
),
);
}