Page 404¶
Which will be activated when a page (path) is not found. page_404 decorator to add a new custom page when not finding a route in the app, you need the following parameters :
parameters¶
route: text string of the url, for example ('/FletEasy-404'). (optional).clear_page: remove the pages from thepage.viewslist of flet. (optional)
The decorated function must receive a mandatory parameter, for example: data:fs.Datasy.