SlotBuildContext constructor

SlotBuildContext({
  1. required AliPlayerWidgetController controller,
  2. required SharedAnimationManager animationManager,
  3. Map<SlotType, Set<String>> hiddenSlotElements = const {},
  4. VoidCallback? onBackPress,
})

创建 SlotBuildContext 实例。 Creates a SlotBuildContext instance.

Implementation

SlotBuildContext({
  required this.controller,
  required this.animationManager,
  this.hiddenSlotElements = const {},
  this.onBackPress,
});