Hi,
Something strange happen with my project. I have simple custom function, which work in test mode, but show error without any details !!!
this is a function
import 'dart:convert';
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:intl/intl.dart';
import 'package:timeago/timeago.dart' as timeago;
import '/flutter_flow/custom_functions.dart';
import '/flutter_flow/lat_lng.dart';
import '/flutter_flow/place.dart';
import '/flutter_flow/uploaded_file.dart';
import '/backend/backend.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import '/backend/schema/structs/index.dart';
import '/auth/custom_auth/auth_util.dart';
/// get date 2025-05-01 00:00:00 and return Tue, 1 May 2025
String convertDatefromISO(String? input) {
/// MODIFY CODE ONLY BELOW THIS LINE
// Parse the input date string to DateTime object
final DateTime date = DateTime.parse(input!);
// Format the date using intl
final DateFormat formatter = DateFormat('EEE, d MMM yyyy');
return formatter.format(date);
/// MODIFY CODE ONLY ABOVE THIS LINE
}
Test Passed Good! But as you see present red icon with Bug ! So...
this is a details showed in this icon
absolutly 0 information !
do you think any bug icon with detail in top right editor section ? No !
This happen with my project just for DateFormat, sometime I can compile it, sometime no ...
Any suggestion guys ?