Skip to content

Comments

courses homescreen#10

Open
ElDemellawy wants to merge 2 commits intoIEEE-SSCS-Alex-SC:masterfrom
ElDemellawy:master
Open

courses homescreen#10
ElDemellawy wants to merge 2 commits intoIEEE-SSCS-Alex-SC:masterfrom
ElDemellawy:master

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