Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

How to get the name of the day in flutter

import 'package:intl/intl.dart';

void main() {
  var date = DateTime.now();
  print(DateFormat('EEEE').format(date)); // Sunday

}
Source by www.cloudhadoop.com #
 
PREVIOUS NEXT
Tagged: #How #day #flutter
ADD COMMENT
Topic
Name
3+6 =