NikuAlert.adaptive constructor
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,
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,
);