While adding "List Web part" on the home page (or any other page), "New Item" toolbar is not avialble in sharepoint 2019 On-Premise. How can we achieve this functionality?
The same feature is available for Sharepoint-Online (O365).
The List action toolbar is hidden by default on adding a webpart in SharePoint on prem. Have you tried editing the webpart properties? Its when editing the page then on hover of the list on the webpart top right corner a small button will show up then click on "Edit Web part" it will reload the page with the webpart properties on the right side of the page.
Below find the option where there is a "Show Toolbar" its under 1 of the vertical tabs below, select it and then at the bottom of the webpart properties, click on 'Save' button, after it loads the toolbar with list actions will show.
Hope the concept helps! Happy Learning!
I have done a test in my SharePoint 2019 and i can reproduce your issue.
The "New Item" toolbar is only supported in SharePoint online while not supported in SharePoint 2019 currently.
Reference: