39 lines
963 B
Dart
39 lines
963 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class ActionSheetData {
|
|
final Widget content;
|
|
final String? confrimTitle;
|
|
final String? dismissTitle;
|
|
final VoidCallback? onConfirmed;
|
|
final VoidCallback? onDismissed;
|
|
final String? title;
|
|
final bool hasPadding;
|
|
final IconData? titleIcon;
|
|
final Color? titleColor;
|
|
final bool hasDismissButton;
|
|
final bool hasConfirmButton;
|
|
final bool withoutButtonMode;
|
|
final bool smallDismissButton;
|
|
final bool isBackgroundDropBlur;
|
|
final Color? backgroundColor;
|
|
|
|
|
|
const ActionSheetData( {
|
|
required this.content,
|
|
this.title,
|
|
this.confrimTitle,
|
|
this.onConfirmed,
|
|
this.titleColor,
|
|
this.hasPadding = true,
|
|
this.hasDismissButton = true,
|
|
this.hasConfirmButton = true,
|
|
this.titleIcon,
|
|
this.dismissTitle,
|
|
this.onDismissed,
|
|
this.smallDismissButton = false,
|
|
this.withoutButtonMode = false,
|
|
this.isBackgroundDropBlur = false,
|
|
this.backgroundColor,
|
|
});
|
|
}
|