import 'dart:ui';
import 'package:flutter/material.dart';
import '../../resouce/base_color.dart';

class DataAlertModel {
  final String? background;
  final String? title;
  final String? content;
  final List<AlertButton>? buttons;

  DataAlertModel({
    this.background,
    this.title,
    this.content,
    this.buttons = const [],
  });
}

class AlertButton {
  final String text;
  final Color textColor;
  final Color bgColor;
  final bool isPrimary;
  final VoidCallback onPressed;

  AlertButton({
    required this.text,
    required this.textColor,
    required this.bgColor,
    required this.isPrimary,
    required this.onPressed,
  });
}


