//Add in pubspec.yaml
dependencies:
intl: ^0.17.0
//Run Using Terminal
flutter pub get
//Import
import 'package:intl/intl.dart';
#in the pubspec.yaml
dependencies:
intl: ^0.17.0
dependencies:
intl: ^0.16.1
dependencies:
intl: ^0.16.1
import 'package:intl/intl.dart';