10 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
32
views
Integrating a flutter application into another, and I'm facing troubles with navigation
We had two applications, Let's call them Application A , and Application B.
Our company wanted to Integrate App B into A as one app.. So, B will now be a mini-app inside A.
The problem with is that ...
0
votes
2
answers
205
views
Flutter custom ThemeData Not Working in Release Mode
I am currently working on a Flutter project and I have defined a light theme in my app_theme.dart file as follows:
final ThemeData lightTheme = ThemeData(
useMaterial3: true,
fontFamily: "...
0
votes
0
answers
117
views
Flutter MaterialApp "A value of type 'MaterialApp' can't be returned from the method 'build' because it has a return type of 'Widget'." Error
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
...
1
vote
1
answer
246
views
MaterialApp RangeError into buildScope Exception
I recently upgraded to Flutter to 3.13 from 3.3 and am now receiving these Exceptions back to back upon hot reloads.
I have included both exceptions as they may be linked and am uncertain if they are ...
0
votes
1
answer
266
views
Flutter Error - Dialog Not Displayed Due to Missing MaterialApp Ancestor
I'm encountering an error related to the absence of a MaterialApp ancestor in my Flutter application. My app's structure includes a MultiProvider and a ModularApp setup, but I'm still receiving an ...
1
vote
1
answer
750
views
MaterialApp.router is not getting rebuilt when using Riverpod StateNotifier to change theme in Flutter, what am I missing?
The MaterialApp.Router widget is supposed to rebuild whenever the theme is changed but it is not. When I do a manual hot reload after tapping a color the theme changes. Any ideas?
I'm using the ...
1
vote
1
answer
359
views
"has Size" Error when the textfield is focused
I am having a fixed AppBar() and BottomNavigationBar() and only changing the body for whole Application.
To achieve this I have used the builder: property in the MaterialApp() Widget.
Now when I tap ...
0
votes
1
answer
485
views
trigger rebuild using MaterialApp builder?
I have a MaterialApp with a home or initialRoute (tried it both ways) as well as a builder:
MaterialApp(
key: appKey,
debugShowCheckedModeBanner: false,
theme: CustomTheme.lightTheme,
...
1
vote
1
answer
732
views
Flutter desing: CupertinoApp and MaterialApp in the same project
Is it a good practice desing an App in Flutter (for IOS and Android) to use CupertinoApp and MaterialApp in the same project?
Apparently it works as expected in the simulators (Xcode and AndroidStudio ...
1
vote
0
answers
55
views
Flutter CustomPainter paints on animations
I have an extended CustomPainter class inside a MaterialApp widget tree. Unfortunately, the paint method gets invoked multiple times during the intrinsic Material design animations (for instance when ...