of static method

FeedbackData? of(
  1. BuildContext context
)

Call BetterFeedback.of(context) to get an instance of FeedbackData on which you can call .show() or .hide() to enable or disable the feedback view.

Implementation

static FeedbackData? of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FeedbackData>();