240 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
0
answers
43
views
how to control the size of the logo in title in flutter i have the error as follow [closed]
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞══════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 660 pixels on the right.
code
import 'package:flutter/...
2
votes
0
answers
57
views
How to detect if a widget starts under the AppBar or below it in Flutter?
I have a Scaffold with extendBodyBehindAppBar: true because I want a blurred AppBar.
The problem is that sometimes my body widget (inner) starts behind the AppBar instead of below it.
Here is a ...
2
votes
1
answer
544
views
Status bar color issue with image_cropper package
I'm using the image_cropper package (version 9.1.0) in my Flutter app (Flutter version 3.27.2) to allow users to crop images. It works fine on most Android versions, but on Android 15 (API level 34), ...
0
votes
1
answer
65
views
AppBar height doubles when having multiple AppBars
I have a custom AppBar that has a preferredSize of 56px. I use this AppBar in my PageWrapper widget that looks like this:
return Scaffold(
extendBodyBehindAppBar: true,
backgroundColor: ...
0
votes
1
answer
106
views
Flutter: Add material 3 search bar with drawer navigation
I am relatively new to Flutter and I am trying to add the new Material 3 Search Bar to my app along with a Drawer navigation but it's not working as expected.
This is how it's appearing:
The ...
0
votes
2
answers
62
views
Appbar color doesn't change in flutter
I'm new to flutter, I'm currently learning, I'm trying to change the color of appbar but impossible. I followed a lot of leads but nothing works (it is transparent).
I would like to have a left ...
-1
votes
2
answers
66
views
Create an app with static app bar and a back button on the top left
I am new to flutter and I am trying to create a simple app with a "static" that doesn't change between pages. I want also that the app bar will have a back button the page is changed, how ...
0
votes
1
answer
118
views
How Can I Create an AppBar That Looks Like This:
How could i achieve such AppBar,The AppBar itself does not have to be an actual AppBar widget.
if it can be done with a normal Container,Painter or ClipPath I'd still appreciate it.
Does not have to a ...
0
votes
2
answers
99
views
Flutter add TextField under Appbar
I'm trying to add a TextField to the bottom of my app bar using Flutter. However, the TextField is not showing up as expected. I'm using the PreferredSize widget to set the height, but it still doesn'...
2
votes
1
answer
764
views
Why is my Flutter ThemeData not getting applied to my app?
I am just starting to learn Flutter and am following a Youtube tutorial. As far as I can tell I've copied the code exactly, however, my ThemeData is not getting applied to my app. I've also noticed ...
0
votes
1
answer
45
views
My button is not moving with my Icon | Flutter | Dart
I'm encountering an issue in my Flutter app where I'm trying to add padding to an IconButton in the AppBar. However, when I add padding to the IconButton, the icon moves to the right, but the button ...
1
vote
1
answer
145
views
How to center a column in the appbar
how do I Center a column in the Appbar? I've searched online and even after adding a row with mainAxisAlignment and mainAxisSize, the Column is still not centered. TIA for all inputs. Additionally, ...
-1
votes
2
answers
220
views
setState not working as intended in a ConsumerStatefulWidget (Riverpod)
I have a custom appbar class where I pass the title as its constructor.
class MyAppBar extends StatelessWidget implements PreferredSizeWidget {
final String? title;
@override
Size get ...
0
votes
1
answer
412
views
Extra vertical padding around Navigation Bar and Bottom Navigation Bar in Flutter
I'm encountering extra padding around both the navigation bar at the top and the bottom navigation bar in my Flutter application. This padding creates unnecessary space and disrupts the intended ...
0
votes
2
answers
2k
views
AppBar and background colors not showing in Flutter project
I am following a YT video (https://www.youtube.com/watch?v=C-fKAzdTrLU&t=1407s), which is a 1 hour Flutter tutorial. I am using VSCode and Android Studio on a Mac, creating a main page with a ...