build method

  1. @override
Widget build(
  1. BuildContext context,
  2. Widget child
)

Implementation

@override
Widget build(BuildContext context, Widget child) {
  return Theme(
    data: value,
    child: ColoredBox(
      color: value.scaffoldBackgroundColor,
      child: DefaultTextStyle(
        style: value.textTheme.bodyMedium!,
        child: child,
      ),
    ),
  );
}