-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mobile styling #25
Mobile styling #25
Conversation
Simplify cubit, remove socket client dependency
Iam sry this PR got a little bit bigger while developing, I hope its still understandable - shame on me 🙈 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love a way to directly start a coffee call (e.g. when you're already walking to the coffee machine or already there). Maybe on long press of the button?
padding: const EdgeInsets.all(20), | ||
child: Hero( | ||
tag: 'coffee-cup', | ||
child: Material( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the Material
here? My gut feeling tells me, this should be handled by the MaterialApp
in main.dart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jep, your right! Thats just Copy Pasta
padding: const EdgeInsets.all(48), | ||
return BlocBuilder<CoffeeCallCubit, CoffeeCallState>( | ||
builder: (context, state) { | ||
return Container( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be a padding (only use Container
s if you need at least two of its properties)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks for the hint, makes sense :)
see #31 |
No description provided.