I want to show only its time without date, so that my chart can be displayed perfectly. while I want the date only shows time like this:
import 'package:intl/intl.dart';
DateTime now = DateTime.now(); //Set your datetime value
String formattedDate = DateFormat('kk:mm').format(now);