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

How do I use other libraries? #8

Closed
Gensjava opened this issue Jul 27, 2020 · 2 comments
Closed

How do I use other libraries? #8

Gensjava opened this issue Jul 27, 2020 · 2 comments

Comments

@Gensjava
Copy link

Gensjava commented Jul 27, 2020

Hi, I need help, I need to create a carousel I found a library but I don't understand how I can use it I always get an error like this in the screenshot, please help me find solutions.
https://github.com/serenader2014/flutter_carousel_slider

1
2

@waseemdev
Copy link
Owner

Your are doing it right!
Make sure the library is installed properly, to check that, use the library in any dart file and see if it works:

import 'package:carousel_slider/carousel_slider.dart';
CarouselSlider();

@Gensjava
Copy link
Author

Thank you so much, it works.
<CarouselSlider items ="ctrl.list" options="ctrl.carouselOptions"

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

No branches or pull requests

2 participants