Collapse list page widgets

I want to be able to collapse (show/hide) the widgets above the table. How to do that?

I have these widgets in my resource list page
public static function getWidgets(): array
{
    return [
        OrderStats::class,
    ];
}


<?php

namespace App\Filament\Resources\OrderResource\Widgets;

use App\Filament\Resources\OrderResource\Pages\ListOrders;
use Filament\Widgets\Concerns\InteractsWithPageTable;
use Filament\Widgets\StatsOverviewWidget as BaseWidget;
use Filament\Widgets\StatsOverviewWidget\Stat;

class OrderStats extends BaseWidget
{
    use InteractsWithPageTable;

    protected static ?string $pollingInterval = null;

    protected function getTablePage(): string
    {
        return ListOrders::class;
    }

    protected function getStats(): array
    {
        return [
            Stat::make(__("general.orders"), $this->getPageTableQuery()->count()),
            Stat::make(__("general.passengers"), $this->getPageTableQuery()->sum('passengers_number')),
        ];
    }
}
5d7b14e4-2d93-43e5-92f0-4ac88f3d08e6.png
Was this page helpful?