of static method

Implementation

static FunStateBehavior of(BuildContext context) {
  final FunFlutterConfiguration? configuration =
      context.dependOnInheritedWidgetOfExactType<FunFlutterConfiguration>();
  return configuration?.funStateBehavior ??
      FunStateBehavior(paging: FunStatePaging());
}