of static method

Implementation

static BambooBreakPoint of(BuildContext context) {
  final result =
      context.dependOnInheritedWidgetOfExactType<BambooBreakPoint>();
  assert(result != null, 'No BambooBreakPoint found in context');
  return result!;
}