Skip to content
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

Merged
merged 5 commits into from
Sep 20, 2022
Merged

Mobile styling #25

merged 5 commits into from
Sep 20, 2022

Conversation

mxwnk
Copy link
Collaborator

@mxwnk mxwnk commented Sep 17, 2022

No description provided.

@mxwnk
Copy link
Collaborator Author

mxwnk commented Sep 18, 2022

Iam sry this PR got a little bit bigger while developing, I hope its still understandable - shame on me 🙈

@mxwnk mxwnk requested a review from t-animal September 19, 2022 20:06
Copy link
Contributor

@t-animal t-animal left a 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(
Copy link
Contributor

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

Copy link
Collaborator Author

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(
Copy link
Contributor

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 Containers if you need at least two of its properties)

Copy link
Collaborator Author

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 :)

@mxwnk
Copy link
Collaborator Author

mxwnk commented Sep 20, 2022

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?

see #31

@mxwnk mxwnk merged commit fa6c969 into no-username-mobile Sep 20, 2022
@mxwnk mxwnk deleted the mobile-styling branch September 20, 2022 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants