formatYear method

  1. @override
String formatYear (
  1. DateTime date
)
override

Full unabbreviated year format, e.g. 2017 rather than 17.

Implementation

@override
String formatYear(DateTime date) => date.year.toString();