get current date with format
static String getCurrentDate({String format = Format.fyyyyMMdd}) { return DateFormat(format).format(DateTime.now()); }