create a page on a specific folder get cli | Getx Flutter

3.4k views Asked by At

I have installed the get_cli for my flutter development. As the docs say, I use the command get create page:home to create a home module with bindings, view and controller. It is created in the lib/app/modules/home folder by default. How to create this under a differnet folder, say lib/app2/modules/home or lib/modules/home.

2

There are 2 answers

3
M E S A B O On

with command below, get cli automatically creates new pages in /lib/module directory

get create page:mypage

So if I want to create a subdirectory in home/bedroom so it's

get create page:bedroom on home

For more details visit --> get_cli

0
Abdelrahman Tareq On

have u tried this:

get create page:home on lib/modules/home