Questions tagged [flutter-stacked]

9 questions
10
votes
2 answers

graphql_flutter Error: The non-abstract class 'GraphQLWebSocketChannel' is missing implementations

I am trying to use graphql_flutter (https://pub.dev/packages/graphql_flutter) for my MVVM architecture. (https://stacked.filledstacks.com/docs/getting-started/overview) I got this error below from the package graphql_flutter when I try to run my…
alexa tang
  • 115
  • 1
  • 6
1
vote
1 answer

stacked create service authentication is failing for me

when I try to create service using stacked_cli: ^1.3.0 , i am getting the following error: Unhandled exception: Invalid argument(s): Could not find an option named "template". #0 ArgResults.[] (package:args/src/arg_results.dart:65:7) #1 …
MOE
  • 41
  • 3
1
vote
1 answer

get error of size.isFinite when set top and right for positioned that nested in stack

I have 3 positioned as children of Stack inside of ListView.builder also set top and right for all 3 positioned when run, got this error size.isFinite Also I have error that buttom overflowd by102 pixels If I remove top and right Only and only…
sunny
  • 2,670
  • 5
  • 24
  • 39
0
votes
1 answer

flutter stack widget clip Behavior: Clip. None, second widget alignment is outside first widget onTap: notworking

I would like to using stack to a Dart in a given position using on Tap, exactly like this (In flutter). example: flutter stack widget clip Behavior: Clip. None, first widget on Tap: working when used second widget alignment is outside first…
0
votes
1 answer

How to Position inside a Stack widget

I have this Stack widget and a Positioned widget inside it. But the position of it doesn't change according to the properties of Positioned. Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const…
0
votes
1 answer

Flutter detect which color text is on top of

I want to find the color of the widget that is behind (z axis) a Text() widget. The Text() widget may be in front of a Stack(), Column(), Scaffold(), Container() or any other widget. I am not talking about the background color property that is found…
0
votes
1 answer

Stack of Cards Shuffle By Swiping In Flutter

How to make a card stack component that you can swipe through and has the cards move to the front or the back depending on which direction you are swiping…
0
votes
1 answer

How to use ViewModelWidget in the onPressed callback of a button in Flutter?

I am trying to use the ViewModelWidget class from the stacked package. I am able to show the TextWidget which extends ViewModelWidget in the body of the page, but cannot show it in the bottom sheet because I am showing the bottom sheet from the…
B Faley
  • 17,120
  • 43
  • 133
  • 223
0
votes
0 answers

Flutter: How to implement a list returned by Future and show the subtotal after refresh?

What's the best way to implement the following scenario using the stacked package? I have a list of items with price. This list is returned from a future. I also have a datepicker. By changing the date, the list is refreshed with new data. Every…
B Faley
  • 17,120
  • 43
  • 133
  • 223