FastFieldOverlayContainer<T> constructor

const FastFieldOverlayContainer<T>({
  1. Key? key,
  2. required String? titleText,
  3. required Widget child,
  4. Widget? backIcon,
  5. Widget? validIcon,
  6. T willClose()?,
  7. T willValid()?,
  8. double? maxHeadlineWidth,
})

Creates a new instance of FastFieldOverlayContainer.

titleText is the title of the header. child is the main content of the overlay container. backIcon, validIcon, willClose, and willValid are optional parameters.

Implementation

const FastFieldOverlayContainer({
  super.key,
  required this.titleText,
  required this.child,
  this.backIcon,
  this.validIcon,
  this.willClose,
  this.willValid,
  double? maxHeadlineWidth,
}) : maxHeadlineWidth = maxHeadlineWidth ?? 640;