Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ElDemellawy
Copy link

No description provided.

Copy link
Collaborator

@hagerk720 hagerk720 left a 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'];
Copy link
Collaborator

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();
Copy link
Collaborator

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(
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants