-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
courses homescreen #10
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greeeate job look in review comments
} | ||
|
||
class myapp extends StatelessWidget { | ||
final List _cor = ['one', 'two', 'three', 'four', 'five']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create course class and use this to create your list
child: ListView.builder( | ||
itemCount: _cor.length, | ||
itemBuilder: (context, index) { | ||
return course(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pass courses list using index
child: ClipRRect( | ||
borderRadius: BorderRadius.circular(100), | ||
child: Image( | ||
image: NetworkImage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the info of course which you will pass here to make it dynamic
No description provided.