The script creates a new View package#
The script creates a new View package in an existing project with an MVC
template created using the create_project utility. New in version 1.0.0. See also Use a clean architecture for your applications. To add a new view to an existing project that was created using the
create_project utility, use the following command: Example command: You can also add new views with responsive behavior to an existing project: For more information about adaptive design,
see here.kivymd.add_view \
name_pattern \
path_to_project \
name_view
kivymd.add_view \
MVC \
/Users/macbookair/Projects \
NewScreen
kivymd.add_view \
MVC \
/Users/macbookair/Projects \
NewScreen \
--use_responsive yes
API - kivymd.tools.patterns.add_view
#
- kivymd.tools.patterns.add_view.main()#
The function of adding a new view to the project.