aagarwal1012 / introviews-flutter Goto Github PK
View Code? Open in Web Editor NEW☀️ A Flutter package for some material design app intro screens with some cool animations.
Home Page: https://introviews-flutter.web.app
License: MIT License
☀️ A Flutter package for some material design app intro screens with some cool animations.
Home Page: https://introviews-flutter.web.app
License: MIT License
The problem I'm facing is when I provide a lengthy description or provide a more fleshed out body widget, the lack of space becomes an issue.
Ideally, I would like to adjust the ratio of the picture to body content, however, another easier approach is to let the body take full height and managing the picture myself in the body section.
I have tried downloading the library myself and making the required changes to generate a module, however, I seem to keep running into build issues which seems to hint at outdated libraries or code in the project?
A possible simple update would be to alter the 'PageViewModel' to include a bool property that will enable a full-height body.
Then updating the '_buildPortraitPage' in the 'Page' model with a simple if wrapping the image item's 'Expanded' widget and using the 'PageViewModel's' new bool property as the evaluation in the if. The same can be used for the '__buildLandscapePage' method.
Unfortunately, I could not test this as not even run would work.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Text must show
Smartphone (please complete the following information):
also tested on pixel xl emulator with android 28, issue persists
Additional context
Want to do this because the title seems to be too far and too close to the top, I want to center it a little
Move slider pages automatically after X time (or by other tap request)
Describe the bug
The title text of the page is sometimes hidden.
To Reproduce
Steps to reproduce the behavior:
class Intro extends StatelessWidget {
final pageList = [
PageViewModel(
pageColor: const Color(0xFF607D8B),
iconImageAssetPath: 'assets/baseline_alarm_black_24dp.png',
//iconColor: null,
//bubbleBackgroundColor: null,
body: Text(
'Testing',
),
title: Text('Scheduling'),
mainImage: SvgPicture.asset(
'assets/timemng.svg',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
),
),
];
@override
Widget build(BuildContext context) {
return Scaffold(
body: IntroViewsFlutter(
pageList,
onTapDoneButton: (){
//Void Callback
},
showSkipButton: true,
pageButtonTextStyles: new TextStyle(
color: Colors.white,
fontSize: 18.0,
fontFamily: "Regular",
),
),
);
}
}
Expected behavior
The text should be "on top of" the SVG.
Smartphone (please complete the following information):
Additional context
N/A
Hi, I wanted to use this package one week ago but I couldn't because setState doesn't work and reading the package's issues, you wrote that you couldn't find the problem.
I was doing my own package and faced the same problem. I fixed it by moving the initState logic to build method. The problem is when you use setState in parent, child isn't created again and initState isn't called. If you move that crucial logic to build (or maybe another better place), it will work.
I try to find an option to change de physic of movement to next and back page, to use less screen drag to change, but not found any option.
I want one parameter to define that movement weight ou percentage, to configure one more comfortable to my users.
Thank you!
Describe the bug
App wouldn't run after upgrading to Flutter version 1.26.0-2.0.pre.451 at C:\src\flutter
To Reproduce
Steps to reproduce the behavior:
/C:/Users/Zal/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/intro_views_flutter-2.8.2/lib/intro_views_flutter.dart:237:7: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:1437:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
Expected behavior
IntroViewsFlutter should render properly
Flutter Doctor
C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel master, 1.26.0-2.0.pre.451, on Microsoft Windows [Version 10.0.19041.746])
• Flutter version 1.26.0-2.0.pre.451 at C:\src\flutter
• Framework revision 5b0f69f961 (4 hours ago), 2021-01-21 07:49:03 -0500
• Engine revision 30bb7452f8
• Dart version 2.12.0 (build 2.12.0-247.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\AppData\Local\Android\sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• No issues found!
Process finished with exit code 0
Smartphone (please complete the following information):
Pixel 4 API 26
@Jayson1999 Please try it now if it works.
Yes, it's working fine with the bubble layout already. However on vertical view, the bubble layouts are still not entirely centered while translating. On horizontal's case, it's perfectly centered.
you mean it's not vertically centered with the Text Buttons, or ?
Active bubble on the screen, the red lines below show the center point.
Originally posted by @Jayson1999 in #96 (comment)
Hi Ayush,
Can you fix the problem with Lotties animations please toy can see the glitch in attached video:
https://user-images.githubusercontent.com/6507433/168632260-6055c1b7-a543-4027-9682-593d01ccd462.mp4
Thanks in advance!
First! Thank for your package. It saves me a lot of time.
Hope I can help you with this "Request"
--> This is my code
...
void animationToPage(int page) {
nextPageIndex = page;
animatedPageDragger = AnimatedPageDragger(
slideDirection: activePageIndex > nextPageIndex
? SlideDirection.leftToRight
: SlideDirection.rightToLeft,
transitionGoal: TransitionGoal.open,
slidePercent: slidePercent,
slideUpdateStream: slideUpdateStream,
vsync: this,
);
animatedPageDragger.run();
}
...
void onPressedBack() {
animationToPage(max(0, activePageIndex - 1));
}
void onPressedNext() {
animationToPage(min(widget.pages.length - 1, activePageIndex + 1));
}
void onPressedSkip() {
animationToPage(widget.pages.length - 1);
}
...
Due to multiple engagements and commitments, I am unable to devote time to solving issues and maintaining the package. Therefore, I strongly require someone who can spend his time to maintaining this repository.
Anyone interested can comment below and please start working on the current issues! In case of any difficultly, I am ready for a quick call to solve ambiguities.
Describe the bug
Assert error.
main.<fn>
FlutterError.reportError
RenderObject._debugReportException
RenderObject.layout
_RenderInputPadding.performLayout
RenderObject.layout
_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
RenderObject.layout
RenderPadding.performLayout
RenderObject.layou
I/flutter ( 4847): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 4847): The following assertion was thrown during performLayout():
I/flutter ( 4847): BoxConstraints forces an infinite width.
I/flutter ( 4847): These invalid constraints were provided to RenderCustomPaint's layout() function by the following
I/flutter ( 4847): function, which probably computed the invalid constraints in question:
I/flutter ( 4847): RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:259:13)
I/flutter ( 4847): The offending constraints were:
I/flutter ( 4847): BoxConstraints(w=Infinity, 36.0<=h<=Infinity)
I/flutter ( 4847):
I/flutter ( 4847): When the exception was thrown, this was the stack:
I/flutter ( 4847): #0 BoxConstraints.debugAssertIsValid.<anonymous closure>.throwError
I/flutter ( 4847): #1 BoxConstraints.debugAssertIsValid.<anonymous closure>
I/flutter ( 4847): #2 BoxConstraints.debugAssertIsValid
I/flutter ( 4847): #3 RenderObject.layout
I/flutter ( 4847): #4 RenderConstrainedBox.performLayout
I/flutter ( 4847): #5 RenderObject.layout
I/flutter ( 4847): #6 _RenderInputPadding.performLayout
I/flutter ( 4847): #7 RenderObject.layout
I/flutter ( 4847): #8 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #9 RenderObject.layout
I/flutter ( 4847): #10 RenderPadding.performLayout
I/flutter ( 4847): #11 RenderObject.layout
I/flutter ( 4847): #12 RenderFlex.performLayout
I/flutter ( 4847): #13 RenderObject.layout
I/flutter ( 4847): #14 RenderStack.performLayout
I/flutter ( 4847): #15 RenderObject.layout
I/flutter ( 4847): #16 MultiChildLayoutDelegate.layoutChild
I/flutter ( 4847): #17 _ScaffoldLayout.performLayout
I/flutter ( 4847): #18 MultiChildLayoutDelegate._callPerformLayout
I/flutter ( 4847): #19 RenderCustomMultiChildLayoutBox.performLayout
I/flutter ( 4847): #20 RenderObject.layout
I/flutter ( 4847): #21 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #22 RenderObject.layout
I/flutter ( 4847): #23 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #24 _RenderCustomClip.performLayout
I/flutter ( 4847): #25 RenderObject.layout
I/flutter ( 4847): #26 MultiChildLayoutDelegate.layoutChild
I/flutter ( 4847): #27 _ScaffoldLayout.performLayout
I/flutter ( 4847): #28 MultiChildLayoutDelegate._callPerformLayout
I/flutter ( 4847): #29 RenderCustomMultiChildLayoutBox.performLayout
I/flutter ( 4847): #30 RenderObject.layout
I/flutter ( 4847): #31 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #32 RenderObject.layout
I/flutter ( 4847): #33 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #34 _RenderCustomClip.performLayout
I/flutter ( 4847): #35 RenderObject.layout
I/flutter ( 4847): #36 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #37 RenderObject.layout
I/flutter ( 4847): #38 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #39 RenderObject.layout
I/flutter ( 4847): #40 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #41 RenderObject.layout
I/flutter ( 4847): #42 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #43 RenderObject.layout
I/flutter ( 4847): #44 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #45 RenderObject.layout
I/flutter ( 4847): #46 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #47 RenderObject.layout
I/flutter ( 4847): #48 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #49 RenderObject.layout
I/flutter ( 4847): #50 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #51 RenderOffstage.performLayout
I/flutter ( 4847): #52 RenderObject.layout
I/flutter ( 4847): #53 RenderStack.performLayout
I/flutter ( 4847): #54 RenderObject.layout
I/flutter ( 4847): #55 __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #56 RenderObject.layout
I/flutter ( 4847): #57 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #58 RenderObject.layout
I/flutter ( 4847): #59 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #60 RenderObject.layout
I/flutter ( 4847): #61 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #62 RenderObject.layout
I/flutter ( 4847): #63 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #64 RenderObject.layout
I/flutter ( 4847): #65 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout
I/flutter ( 4847): #66 RenderObject.layout
I/flutter ( 4847): #67 RenderView.performLayout
I/flutter ( 4847): #68 RenderObject._layoutWithoutResize
I/flutter ( 4847): #69 PipelineOwner.flushLayout
I/flutter ( 4847): #70 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame
I/flutter ( 4847): #71 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame
I/flutter ( 4847): #72 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback
I/flutter ( 4847): #73 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback
I/flutter ( 4847): #74 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame
I/flutter ( 4847): #75 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure>
I/flutter ( 4847): #77 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
I/flutter ( 4847): #78 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
I/flutter ( 4847): #79 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12)
I/flutter ( 4847): (elided one frame from package dart:async-patch)
I/flutter ( 4847):
I/flutter ( 4847): The following RenderObject was being processed when the exception was fired:
I/flutter ( 4847): RenderConstrainedBox#1020b relayoutBoundary=up9 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847): creator: ConstrainedBox ← _InputPadding ← Semantics ← RawMaterialButton ← FlatButton ← DoneButton
I/flutter ( 4847): ← Padding ← Row ← DefaultTextStyle ← Positioned ← PageIndicatorButtons ← Stack ← ⋯
I/flutter ( 4847): parentData: offset=Offset(0.0, 0.0) (can use size)
I/flutter ( 4847): constraints: BoxConstraints(unconstrained)
I/flutter ( 4847): size: MISSING
I/flutter ( 4847): additionalConstraints: BoxConstraints(w=Infinity, 36.0<=h<=Infinity)
I/flutter ( 4847): This RenderObject had the following descendants (showing up to depth 5):
I/flutter ( 4847): RenderCustomPaint#f1a00 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847): _RenderInkFeatures#f4690 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847): RenderSemanticsGestureHandler#613ff NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847): RenderPointerListener#c8766 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847): RenderPadding#fde30 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4847):
To Reproduce
Flutter doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.475], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
X Android license status unknown.
or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[√] Android Studio (version 3.3)
[√] VS Code (version 1.33.1)
[√] Connected device (1 available)
! Doctor found issues in 1 category.
Steps to reproduce the behavior (this sample code):
@override
Widget build(BuildContext context) {
Log.logFunctionName("_Onboarding", "build()");
// Store when we have a context
stateData.setBuildContext(context);
// TODO: Remove when done testing
_initPages();
return WillPopScope(
onWillPop: () async => false,
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.transparent,
centerTitle: true,
elevation: 0.0,
title: textTitle,
),
body: Builder(
builder: (context) => IntroViewsFlutter(
[],
onTapSkipButton: _finish,
onTapDoneButton: _finish,
pageButtonTextStyles: TextStyle(
color: Colors.white,
fontSize: 18.0,
),
showSkipButton: true,
),
)));
}
Expected behavior
No errors. It still renders, but the exceptions are not a good sign.
Smartphone (please complete the following information):
Describe the bug
Rapid clicks on NEXT
and BACK
buttons increments internal index out of range producing a flutter error.
To Reproduce
Steps to reproduce the behavior:
NEXT
or BACK
buttonsNEXT
or BACK
Expected behavior
No flutter error
When orientation is switched to landscape mode the flutter overflow black and yellow bar is shown.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It would be preferable if the layout changed to fit title, image and controls.
It looks like title text is getting cut from the top. I made the title on the first page font 15, and its shows. So it looks like there is something blocking the title.
final pages = [
new PageViewModel(
pageColor: mainColor,
iconImageAssetPath: 'images/events.png',
body: Text(
'View conference schedules to keep on top of all your DECA events',
),
title: Text(
'Events',
style: TextStyle(fontSize: 15.0),
),
textStyle: TextStyle(fontFamily: 'Product Sans', color: Colors.white),
mainImage: Image.asset(
'images/events.png',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
)
),
new PageViewModel(
pageColor: mainColor,
iconImageAssetPath: 'images/alert.png',
body: Text(
'Be notified of imporant updates, including when your next event is about to start',
),
title: Text('Alerts'),
mainImage: Image.asset(
'images/alert.png',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
),
textStyle: TextStyle(fontFamily: 'Product Sans', color: Colors.white),
),
new PageViewModel(
pageColor: mainColor,
iconImageAssetPath: 'images/map.png',
body: Text(
'Find event locations quickly with our built-in maps',
),
title: Text('Maps'),
mainImage: Image.asset(
'images/map.png',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
),
textStyle: TextStyle(fontFamily: 'Product Sans', color: Colors.white),
),
new PageViewModel(
pageColor: mainColor,
iconImageAssetPath: 'images/platform.png',
body: Text(
'Easy access from all your favorite devices',
),
title: Text(
'Multi-Platform',
textAlign: TextAlign.center,
),
mainImage: Image.asset(
'images/platform.png',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
),
textStyle: TextStyle(fontFamily: 'Product Sans', color: Colors.white),
),
new PageViewModel(
pageColor: mainColor,
iconImageAssetPath: 'images/logo_white_trans.png',
body: Text(
'Click done to get started!',
),
title: Text('Welcome to', textAlign: TextAlign.center,),
mainImage: Image.asset(
'images/logo_white_trans.png',
height: 285.0,
width: 285.0,
alignment: Alignment.center,
),
textStyle: TextStyle(fontFamily: 'Product Sans', color: Colors.white),
)
];
@override
Widget build(BuildContext context) {
return new Container(
color: mainColor,
child: new SafeArea(
child: new IntroViewsFlutter(
pages,
onTapDoneButton: () {
router.navigateTo(context,'/toRegister', transition: TransitionType.fadeIn, clearStack: true);
},
columnMainAxisAlignment: MainAxisAlignment.start,
showSkipButton: false, //Whether you want to show the skip button or not.
pageButtonTextStyles: TextStyle(
color: Colors.white,
fontSize: 18.0,
),
),
),
);
}
Flutter version 2 with intro_views_flutter
Hello
After I update Flutter SDK to version 2 I get this error in intro_views_flutter plugin
Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
pubspec.yaml
intro_views_flutter: ^2.8.2
Console
C:\Users\wael1\AndroidStudioProjects\stem_cells>flutter build apk
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/intro_views_flutter-2.8.2/lib/intro_views_flutter.dart:237:7: Error: No named parameter with the name 'resizeT
oAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^FAILURE: Build failed with an exception.
Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 14m 9s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 851.7s
Gradle task assembleRelease failed with exit code 1
Is your feature request related to a problem? Please describe.
in an arabic app i cant swipe in the desired direction
Describe the solution you'd like
the right swipe in an arabic app goes left and vise versa
i
Describe alternatives you've considered
i would like to add RTL support for swiping in views
Feature request
Enabling / Disabling dragging / sliding / scrolling
Clean Solution
A boolean value for IntroViewsFlutter like isDraggingEnabled or isScrollingEnabled would be great
Alternative
I solved it with:
fullTransition: enabled ? 300 : double.infinity,
@aagarwal1012 Please refer the screenshot
I want the title to be empty so I tried to pass null but that did not work, so I passed an empty text.
The body text is at the bottom I want it below the image as shown in your demo
pageColor might be nice to have but it is not very flexible instead or as addition, pageBackground should be present and accept a widget. That allows complete customization like bubbles floating in the background or just plain colors or gradients etc. etc.
Describe the bug
Safe area - It doesn't render properly on iPhones with notch
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Implement safe area
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
So you only change the slide by pressing the screen
Is your feature request related to a problem? Please describe.
Is there anyway to add radio buttons or buttons So that in my app let's say I want the user to be able to choose a language before showing the Homepage?
iconImageAssetPath accepts an asset path (String). It would be cool if I could use other widgets to show as well as a standard vector image. The most usable setting would be a widget. The user could provide one or the other and the ctor could check that one or the other is null. Nice work by the way - Thank you
Is your feature request related to a problem? Please describe.
I currently working on a project and i need to make the "next" and "skip" text in German.
Describe the solution you'd like
So it would be nice if you can implement a way to change the text
Additional context
I gonna look also if i can implement a solution by myself and gonna make a pull request.
been getting this error
Compiler message:
../../../.pub-cache/hosted/pub.dartlang.org/intro_views_flutter-2.8.0/lib/intro_views_flutter.dart:241:11: Error: 'Page' is imported from both 'package:flutter/src/widgets/navigator.dart' and 'package:intro_views_flutter/UI/page.dart'.
Page(
^^^^
hello sir,
You have done a great job by making this but I have one suggestion to give you that add new property of asking number of bubble shows at once because as we have more number of intro screen , bubble got on the next and back button and you can keep default value as 3. it looks good to show 3 bubble at once inspite of having any number of intro screen. and the size of bubble increased so many as come on that page. it should be somewhat small .Remaining everything is all good.
thank you.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
../../../Developer/flutter/.pub-cache/hosted/pub.dartlang.org/intro_views_flutter-2.8.2/lib/intro_views_flutter.dart:237:7: Error: No named parameter with the name 'resizeToAvoidBottomPadding'.
resizeToAvoidBottomPadding: false,
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../Developer/flutter/packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^^^^^^^^
Bug Description
When i try to change the color of the buttons from white to any other color, either by setting the pageButtonTextStyles
property or by setting the skip- done- back- or nextText
property to a Text Widget with wanted characteristics, they stay white. I'm using intro_views_flutter Version 2.6.0
To Reproduce
pageColor
property to Colors.white
Smartphone:
Flutter doctor output
`[✓] Flutter (Channel master, v1.6.2, on Mac OS X 10.13.4 17E199, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✗] iOS toolchain - develop for iOS devices
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
✗ ios-deploy not installed. To install:
brew install ios-deploy
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the
Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.dev/platform-plugins
To install:
brew install cocoapods
pod setup
[✓] Android Studio (version 3.1)
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.