import 'package:intl/intl.dart';
static final DateTime now = DateTime.now();
Want to format?
static final DateFormat formatter = DateFormat('yyyy-MM-dd');
final String formatted = formatter.format(now);
OR
DateTime dateToday = DateTime(DateTime.now().year, DateTime.now().month, DateTime.now().day) ;