duytq94 / flutter-intro-slider

Simple and configurable app introduction slider for Flutter
https://pub.dartlang.org/packages/intro_slider
MIT License
677 stars 141 forks source link

Is it possible to use a slider children > child? #55

Closed chelkaz closed 4 years ago

chelkaz commented 4 years ago

I want 2 vertical blocks, the top column is a static image, and the bottom column is a slider That the image would not move during a slide

Example:

        appBar: AppBar(
          title: Text('Flutter layout demo'),
        ),
        body: Column(
          children: [
            Icon(Icons.star, color: Colors.green),
            IntroScreen(),
          ],
        )
      ),
duytq94 commented 4 years ago

Yes, of course, you can set IntroScreen as a child of any widget.

duytq94 commented 4 years ago

You can refer to this: https://github.com/duytq94/flutter-intro-slider/issues/56