const SizeWidget({ Key? key, required this.onSize, required Widget child, }) : super(key: key, child: child);