fix: Swiper

This commit is contained in:
2024-03-31 15:05:06 +08:00
parent 494ae6468d
commit c32de21fa1
4 changed files with 10 additions and 2 deletions

View File

@ -135,3 +135,9 @@ Future<Uint8List?> widgetToPngImage(GlobalKey repaintBoundaryKey,
double roundDoubleTo(double value, double precision) =>
(value * precision).round() / precision;
int getMinNumber(List<int> list) {
if (list.isEmpty) return 0;
list.sort((a, b) => a.compareTo(b));
return list.first;
}