createMaterialWidget method
Implementation
@override
AlertDialog createMaterialWidget(BuildContext context) {
final data = material?.call(context, platform(context));
return AlertDialog(
key: data?.widgetKey ?? widgetKey,
actions: data?.actions ?? actions,
content: data?.content ?? content,
contentPadding: data?.contentPadding,
semanticLabel: data?.semanticLabel,
title: data?.title ?? title,
titlePadding: data?.titlePadding,
contentTextStyle: data?.contentTextStyle,
backgroundColor: data?.backgroundColor,
elevation: data?.elevation,
shape: data?.shape,
titleTextStyle: data?.titleTextStyle,
scrollable: data?.scrollable ?? false,
actionsOverflowDirection: data?.actionsOverflowDirection,
actionsPadding: data?.actionsPadding,
buttonPadding: data?.buttonPadding,
actionsOverflowButtonSpacing: data?.actionsOverflowButtonSpacing,
clipBehavior: data?.clipBehavior ?? Clip.none,
insetPadding: data?.insetPadding ?? _defaultInsetPadding,
actionsAlignment: data?.actionsAlignment,
alignment: data?.alignment,
actionsOverflowAlignment: data?.actionsOverflowAlignment,
icon: data?.icon,
iconColor: data?.iconColor,
iconPadding: data?.iconPadding,
shadowColor: data?.shadowColor,
surfaceTintColor: data?.surfaceTintColor,
);
}