aman-satu-flutter/lib/core/models/dialog_models.dart

31 lines
615 B
Dart

import 'package:flutter/foundation.dart';
class DialogRequest {
final String? title;
final String? description;
final String? buttonTitle;
final String? cancelTitle;
final String? formatType;
DialogRequest(
{@required this.title,
@required this.description,
@required this.buttonTitle,
this.cancelTitle,
this.formatType});
}
class DialogResponse {
//final String fieldOne;
//final String fieldTwo;
final String? responseText;
final bool? confirmed;
DialogResponse({
//this.fieldOne,
//this.fieldTwo,
this.responseText,
this.confirmed,
});
}