26 lines
575 B
Dart
26 lines
575 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 IconData? titleIcon;
|
|
final Color? titleColor;
|
|
final bool hasDismissButton;
|
|
|
|
ActionSheetData({
|
|
required this.content,
|
|
required this.title,
|
|
this.confrimTitle,
|
|
this.onConfirmed,
|
|
this.titleColor,
|
|
this.hasDismissButton = true,
|
|
this.titleIcon,
|
|
this.dismissTitle,
|
|
this.onDismissed,
|
|
});
|
|
}
|