StoryProvider constructor

const StoryProvider({
  1. Key? key,
  2. required Story story,
  3. required Widget child,
})

Implementation

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