NikuAlert.adaptive constructor

NikuAlert.adaptive({
  1. Key? key,
  2. Widget? title,
  3. NikuEdgeInsets? titlePadding,
  4. NikuTextStyle? titleTextStyle,
  5. Widget? content,
  6. NikuEdgeInsets? contentPadding,
  7. NikuTextStyle? contentTextStyle,
  8. List<Widget>? actions,
  9. NikuEdgeInsets? actionsPadding,
  10. MainAxisAlignment? actionsAlignment,
  11. VerticalDirection? actionsOverflowDirection,
  12. double? actionsOverflowButtonSpacing,
  13. NikuEdgeInsets? buttonPadding,
  14. Color? backgroundColor,
  15. double? elevation,
  16. String? semanticLabel,
  17. NikuEdgeInsets? insetPadding,
  18. Clip? clipBehavior,
  19. ShapeBorder? shape,
  20. bool? scrollable,
  21. List<CupertinoDialogAction>? cupertinoActions,
})

Implementation

factory NikuAlert.adaptive({
  Key? key,
  Widget? title,
  NikuEdgeInsets? titlePadding,
  NikuTextStyle? titleTextStyle,
  Widget? content,
  NikuEdgeInsets? contentPadding,
  NikuTextStyle? contentTextStyle,
  List<Widget>? actions,
  NikuEdgeInsets? actionsPadding,
  MainAxisAlignment? actionsAlignment,
  VerticalDirection? actionsOverflowDirection,
  double? actionsOverflowButtonSpacing,
  NikuEdgeInsets? buttonPadding,
  Color? backgroundColor,
  double? elevation,
  String? semanticLabel,
  NikuEdgeInsets? insetPadding,
  Clip? clipBehavior,
  ShapeBorder? shape,
  bool? scrollable,
  List<CupertinoDialogAction>? cupertinoActions,
}) =>
    NikuAlert(
      key: key,
      title: title,
      titlePadding: titlePadding,
      titleTextStyle: titleTextStyle,
      content: content,
      contentPadding: contentPadding,
      contentTextStyle: contentTextStyle,
      actions: actions,
      actionsPadding: actionsPadding,
      actionsAlignment: actionsAlignment,
      actionsOverflowDirection: actionsOverflowDirection,
      actionsOverflowButtonSpacing: actionsOverflowButtonSpacing,
      buttonPadding: buttonPadding,
      backgroundColor: backgroundColor,
      elevation: elevation,
      semanticLabel: semanticLabel,
      insetPadding: insetPadding,
      clipBehavior: clipBehavior,
      shape: shape,
      scrollable: scrollable,
      adaptive: true,
      cupertinoActions: cupertinoActions,
    );