How can I fix it? Please don't say import intl.dart as you can see at the second photo I already add it.
It might be using the Date Format class from another package.
-> import 'package:intl/intl.dart' as intl;
Edit the import like this.
Try using the date format as below.
intl.DateFormat.yMMMd().format(transaction[index].date),