Update evaporasi_history_list.dart
This commit is contained in:
parent
cef4e6bfe3
commit
948184da6e
|
|
@ -104,23 +104,10 @@ class _HeaderBar extends StatelessWidget {
|
||||||
final filtered = selectedDate != null;
|
final filtered = selectedDate != null;
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
const Text(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
'History',
|
||||||
children: [
|
style: TextStyle(
|
||||||
const Text(
|
fontSize: 16, fontWeight: FontWeight.bold, color: Colors.black87),
|
||||||
'Riwayat Data',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 16,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
color: Colors.black87),
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
filtered
|
|
||||||
? '${DateFormat('dd MMM yyyy', 'id_ID').format(selectedDate!)} • $totalCount data'
|
|
||||||
: '$totalCount data tersimpan',
|
|
||||||
style: TextStyle(fontSize: 12, color: Colors.grey.shade600),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
if (filtered)
|
if (filtered)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue