Comments (3)
Hi, I tried using the example code of this package and it works fine.
I defined a color in the canvasColor property of the theme of my MaterialApp, and I defined pageColor with Colors.transparent (or even just removed the pageColor property), and it works.
Can you show me your code?
from introduction_screen.
I put my backgournd image in Stack, but not working, can you help me.
const pageDecoration = const PageDecoration(
titleTextStyle: TextStyle(fontSize: 28.0, fontWeight: FontWeight.w700),
bodyTextStyle: bodyStyle,
descriptionPadding: EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 16.0),
pageColor: Colors.transparent,
imagePadding: EdgeInsets.zero,
);
return Stack(
children: <Widget>[
Container(
child: _buildImage('img1'), <-- My Background
),
IntroductionScreen(
key: introKey,
pages: [
PageViewModel(
title: "Fractional shares",
body:
"Instead of having to buy an entire share, invest any amount you want.",
image: _buildImage('img1'),
decoration: pageDecoration,
),
PageViewModel(),
PageViewModel(),
....
from introduction_screen.
Hello @frankenten13, sorry I've just seen your reply.. 1year later :/
I hope you find the solution ^^
On my first reply I forgot that there is a param globalBackgroundColor
. By settings Colors.transparent
you will have a full transparent IntroductionScreen, so you can set an image as background, like your previous code.
from introduction_screen.
Related Issues (20)
- Enhancement: More options for navigation buttons style HOT 7
- descriptionPadding not working HOT 3
- Bug: HOT 3
- Is there a way to remove the dots if we have text field on introduction screen? HOT 13
- Enhancement: Add support for larger font size HOT 2
- Bug: Swipe not working HOT 1
- Bug: After each page slide the focus is requested by introduction slides HOT 3
- Bug: The dots progress hides behind the navigation bar on android HOT 7
- Bug: PageController.page cannot be accessed before a PageView is built with it HOT 16
- Bug: HOT 4
- Dots Indicator HOT 1
- Bug: Pagecolor not effecting bottompart HOT 4
- Bug: showBottomPart not hiding bottompart HOT 4
- Enhancement: setState method functioning HOT 2
- Enhancement: Infinite scroll HOT 7
- Bug: IntroductionScreenState._autoScroll issue HOT 8
- Enhancement: Hide dots indicator
- Bug: The default dot decorators are not animating on 3.1.9. HOT 2
- Bug: Problem with infinite AutoScroll property: true and navigation outside of onboarding screens HOT 2
- Bug: last page not detected on Nexus 10 (emulator) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from introduction_screen.