Issue I started studying mobile development and had a lot of questions and problems. I have classes. I’m passing a field value "score" and getting an error. Help me to understand. Thank you. My error: type ‘() => Null’ is
Continue readingCategory: Flutter Desktop
Flutter : how to change automatically from splash screen to next screen?
Issue I’m having an issue with moving from the splash screen to the next screen in my application. When the app first starts, I want to display a splash screen, and after that I try to use pushReplacement to go
Continue readingImplement vibration in flutter
Issue Is there any to Vibrate the phone even if the Vibration Feedback setting is turned off of the device? I have tried this piece of code but it will work only when the Vibration Feedback is turned on from
Continue readingChange AppBar title depending on page with BottomNavigationBar
Issue I’m trying to change the AppBar title depending on which page the user is on – the pages are controlled by a BottomNavigationBar which loads the different classes(pages) The only way i’ve managed to change this is by including
Continue readingHow to apply onTap event to RadioListTile?
Issue I have a popup dialog with a list of radio buttons that I wish to pop whenever a radio button is selected regardless of whether it is currently selected or not. Using the Radio or RadioListTile widget included in
Continue readingWhy put null-safety twice in a List of values
Issue Suppose defining two lists: List<MediaItem?> playlist = []; List<Item> items = [Item(data:’vasya’)]; and two models: class MediaItem { final String id; MediaItem({ required this.id }); } class Item { final String data; Item({ required this.data, }); MediaItem toMediaItem() =>
Continue readingThe constructor being called is not a const
Issue I was just getting started with flutter and I am trying to create a small profile page I saw on YouTube. I built the page by stacking widgets under the children property of a Column widget. I have put
Continue readingflutter cupertinoslivernavigationbar like ios health app
Issue Trying to create a header using CupertinoSliverNavigationBar. I’m thinking of a UI like the Browse tap in the iOS health app. what I want what i did: blank largeTitle space under search field should be removed CustomScrollView( slivers: [
Continue readingIs it possible to show links preview from Flutter web links?
Issue I am thinking of developing an e-commerce app on flutter web, using Navigator 2.0, maybe beamer. I would like people to be able to share flutter web links and show previews on social networks. Is this possible? Just to
Continue readingWorkaround for using context ColorScheme in initState?
Issue For my StatefulWidgets, often I could do all my subtree construction in initSate but for my use of Theme.of(context).colorScheme. So I end up constructing the widgets that rely on the context’s ColorScheme in build. In order to keep build
Continue reading