static void _showStyledSnackBar()

in lib/utils/snack_bar_util.dart [94:119]


  static void _showStyledSnackBar(
    BuildContext context,
    String message,
    Color backgroundColor,
    IconData iconData,
    Duration duration,
  ) {
    ScaffoldMessenger.of(context).showSnackBar(
      _buildSnackBar(
        content: Row(
          children: [
            Icon(iconData, color: Colors.white),
            const SizedBox(width: 8),
            Expanded(
              child: Text(
                message,
                style: const TextStyle(color: Colors.white),
              ),
            ),
          ],
        ),
        backgroundColor: backgroundColor,
        duration: duration,
      ),
    );
  }