Theme constructor

const Theme(
  1. {Key? key,
  2. required ThemeData data,
  3. required Widget child}
)

Applies the given theme data to child.

Implementation

const Theme({
  super.key,
  required this.data,
  required this.child,
});