EmptyComponent constructor
const
EmptyComponent({})
Creates an EmptyComponent widget.
Parameters:
title: The title text displayed below the image (defaults to 'Chưa có dữ liệu').subtitle: Optional subtitle text displayed below the title (defaults to 'Keep up the good work!').imageUrl: Path to the image asset (optional, uses default if not provided).width: Width of the image in logical pixels (optional).height: Height of the image in logical pixels (optional).
Implementation
const EmptyComponent({
super.key,
this.title = 'Chưa có dữ liệu',
this.subtitle = 'Keep up the good work!',
this.imageUrl,
this.width,
this.height,
});