build method

  1. @override
Widget build (BuildContext context)
override

Implementation

@override
Widget build(BuildContext context) {
  return ValueListenableBuilder<T>(
    valueListenable: delegate.value,
    builder: (_, value, child) {
      return InheritedProvider<T>(
        value: value,
        updateShouldNotify: updateShouldNotify,
        child: child,
      );
    },
    child: child,
  );
}