CupertinoAlertDialog constructor

const CupertinoAlertDialog({
  1. Key? key,
  2. Widget? title,
  3. Widget? content,
  4. List<Widget> actions = const <Widget>[],
  5. ScrollController? scrollController,
  6. ScrollController? actionScrollController,
  7. Duration insetAnimationDuration = const Duration(milliseconds: 100),
  8. Curve insetAnimationCurve = Curves.decelerate,
})

Creates an iOS-style alert dialog.

Implementation

const CupertinoAlertDialog({
  super.key,
  this.title,
  this.content,
  this.actions = const <Widget>[],
  this.scrollController,
  this.actionScrollController,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
  this.insetAnimationCurve = Curves.decelerate,
});