Comments (5)
I am not really sure of this implementation. Imagine the home screen which is the gateway to all other screens. In this, it'll have to refer each of the class to get its route. Won't having one route utility file be better?
CC: @Thesmader
Ok, so creating a class named routes, adding all the static const strings under that and just calling the routes class wherever required would be better maybe?
That way, instead of referring to all the classes, it can just refer to the routes class and tap into the required route.
from project-avocado.
If I understand correctly, we will have a utility file which will manage the routes. Isn't it?
Sounds like something that will improve the codebase
from project-avocado.
Not exactly. I basically added
If I understand correctly, we will have a utility file which will manage the routes. Isn't it?
Sounds like something that will improve the codebase
Not exactly, I created a static const String (id) in every page which stores the name of the route. So you can easily tap into the route by using something like HomePage.id.
from project-avocado.
@DesignrKnight Please assign this to me. I would like to work on it.
from project-avocado.
I am not really sure of this implementation. Imagine the home screen which is the gateway to all other screens. In this, it'll have to refer each of the class to get its route. Won't having one route utility file be better?
CC: @Thesmader
from project-avocado.
Related Issues (20)
- Change the regex for segregating mentors and mentees wrt the upcoming batch. HOT 1
- Team Members Updates - Co-ordinators, Prefects, Faculty Members HOT 2
- List All the ICS Events
- Links Updates in Important Document Sections HOT 2
- ICS Youtube and Website Mention HOT 2
- YourDost Embed in place of Book Your Appointment in Card
- Change all the print statements in the project to debugPrint HOT 4
- Add new contributors to the app and github
- Create one single launchUrl function and reuse it wherever required.
- Update README.md with the latest format and Push the new release
- App crash related to flutter_contacts
- Dark theme in the ics app ...
- Build failed due to use of deprecated Android v1 embedding. HOT 1
- Subject name and location button are overlapping
- App drawer menus and logout button are overlapping
- Upgrade old buttons to new buttons HOT 1
- FAQ section in Flutter
- Acad Vault integration in ICS APP
- Update: Counselling Services Card
- Show the app terms and conditions in apps webview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-avocado.