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