src/Dashboard/SharpDashboard.php
protected function addFullWidthWidget(string $widgetKey)
    {
        $this->layoutBuilt = false;

        $this->addRow(function(DashboardLayoutRow $row) use ($widgetKey) {
            $row->addWidget(12, $widgetKey);
        });

        return $this;
    }
protected function addFullWidthWidget(string $widgetKey)
    {
        $this->layoutBuilt = false;

        $this->addRow(function(DashboardLayoutRow $row) use ($widgetKey) {
            $row->addWidget(12, $widgetKey);
        });

        return $this;
    }
protected function addFullWidthWidget ( string $ widgetKey ) { $ this -> layoutBuilt = false ; $ this -> addRow ( function ( DashboardLayoutRow $ row ) use ( $ widgetKey ) { $ row -> addWidget ( 12 , $ widgetKey ) ; } ) ; return $ this ; }
Add a new row with a single widget.

@param string $widgetKey
@return $this
Add a new row with a single widget .