CupertinoAlertDialog constructor

const CupertinoAlertDialog({Key key, Widget title, Widget content, List<Widget> actions: const [], ScrollController scrollController, ScrollController actionScrollController })

Creates an iOS-style alert dialog.

The actions must not be null.

Implementation

const CupertinoAlertDialog({
  Key key,
  this.title,
  this.content,
  this.actions = const <Widget>[],
  this.scrollController,
  this.actionScrollController,
})  : assert(actions != null),
      super(key: key);