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

27 lines
498 B
Dart

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