SizeInherited constructor

const SizeInherited({
  1. Key? key,
  2. required Widget child,
  3. required Size size,
})

Implementation

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