FloatingComponentStateEvent constructor

FloatingComponentStateEvent({
  1. required LayoutPosition position,
  2. required ComponentType? componentType,
  3. required FloatingComponentState state,
  4. bool isAutoTriggered = false,
  5. DateTime? timestamp,
})

Implementation

FloatingComponentStateEvent({
  required this.position,
  required this.componentType,
  required this.state,
  this.isAutoTriggered = false,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();