buurzx / tindercloneui Goto Github PK
View Code? Open in Web Editor NEWFlutter Tinder UI clone
Flutter Tinder UI clone
when I'm trying to add more than two profile, after the fourth one bug is come with just white screen and no image showing on screen
I'm trying to add data to the demoProfiles, a List variable that contains the profile data from a website server but the layout doesn't make it easy, could you suggest ways to integrate it with data from a server.
I'm using demoProfiles.add(other data from server), but these data are not reflected yet I'm adding in good time before the widgets are built
.
Thanks.
I'm getting this exception when trying to press the buttons. This might be an issue with Flutter itself.
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown while rebuilding dirty elements:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4268 pos 12: '!_dirty': is not
true.
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
CardStack file:///C:/Users/Yoni/Projects/tinderCloneUI/lib/main.dart:123:17
When the exception was thrown, this was the stack:
#2 Element.rebuild (package:flutter/src/widgets/framework.dart:4268:12)
#3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:33)
#4 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:866:20)
#5 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
#6 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
#7 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1056:9)
#8 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:972:5)
#12 _invoke (dart:ui/hooks.dart:253:10)
#13 _drawFrame (dart:ui/hooks.dart:211:3)
(elided 5 frames from class _AssertionError and dart:async)
The element being rebuilt at the time was index 0 of 2:
CardStack
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while rebuilding dirty elements:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4268 pos 12: '!_dirty': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
CardStack file:///C:/Users/Yoni/Projects/tinderCloneUI/lib/main.dart:123:17
When the exception was thrown, this was the stack:
#2 Element.rebuild (package:flutter/src/widgets/framework.dart:4268:12)
#3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:33)
#4 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:866:20)
#5 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
#6 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
...
The element being rebuilt at the time was index 0 of 2: CardStack
dirty
dependencies: [MediaQuery]
state: _CardStackState#e734f
════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 8652): user decision: Like
Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4268 pos 12: '!_dirty': is not true.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while rebuilding dirty elements:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4268 pos 12: '!_dirty': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
CardStack file:///C:/Users/Yoni/Projects/tinderCloneUI/lib/main.dart:123:17
When the exception was thrown, this was the stack:
#2 Element.rebuild (package:flutter/src/widgets/framework.dart:4268:12)
#3 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:33)
#4 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:866:20)
#5 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
#6 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1117:15)
...
The element being rebuilt at the time was index 0 of 2: CardStack
dirty
dependencies: [MediaQuery]
state: _CardStackState#e734f
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.