Текущий подход
Код: Выделить всё
DateTime now = DateTime.now();
currentTime = new DateTime(now.year, now.month, now.day, now.hour, now.minute);
Text('$currentTime'),
Код: Выделить всё
YYYY-MM-JJ HH-MM:00.000Как удалить :00.000< /code> часть?
Подробнее здесь: https://stackoverflow.com/questions/515 ... in-flutter
Мобильная версия