Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit e128de9

Browse files
Merge pull request #19 from Iconica-Development/feature/custom_background
feat: Added the ability to make the intro pages transparent
2 parents 947d734 + 8bef7ff commit e128de9

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
##[2.1.0] - 6 April 2023
2+
3+
* Made the Introscreen scaffold transparent so a custom background can be used.
4+
15
##[2.0.0] - 26 January 2023
26

37
* remove 'background' parameter. Now if you want to use a background image, you have to add it to the 'decoration' parameter with a 'BoxDecoration'

lib/src/introduction.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class _IntroductionScreenState extends State<IntroductionScreen> {
4747
@override
4848
Widget build(BuildContext context) {
4949
return Scaffold(
50+
backgroundColor: Colors.transparent,
5051
body: Builder(
5152
builder: (context) {
5253
switch (widget.options.displayMode) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_introduction_widget
22
description: Flutter Introduction Widget for showing a list of introduction pages on a single scrollable page or horizontal pageview
3-
version: 2.0.0
3+
version: 2.1.0
44
homepage: https://github.com/Iconica-Development/flutter_introduction_widget
55

66
environment:

0 commit comments

Comments
 (0)