A template is a pre-designed file that can be used to quickly design a specific view.
Once a template is created, it can be reused across multiple screens, speeding up the design and development process.
When changes need to be made, updating the template can propagate those changes across all the instances where the template is used.
To create a template file, right click on templates ->New -> Project. In the dialog, select Template View option and click Next. Once entered the file name, the template is created as below
In Flint, only one widget can be supported in a single template file. A user can drag and drop the widget from the toolbox and edit the properties. Once set, the template is shown in the widget toolbox tab.