skip to Main Content

The operator '[]' isn't defined for the class 'Iterable<dynamic>' – Flutter

[!Here is the code where i got an error, I could not use [] for this code return ListView.builder( reverse: true, itemCount: chatDocs?.length, itemBuilder: (ctx, index) => MessageBubble( chatDocs[index].data()['text'], chatDocs[index].data()['username'], chatDocs[index].data()['userImage'], chatDocs[index].data()['userId'] == user.uid, ), // Container( // padding: const…

VIEW QUESTION

RestorableBool vs bool in Flutter

According to documentation, RestorableBool class is a RestorableProperty that knows how to store and restore a bool. One example of RestorableBool is given by flutter itself in the flutter gallery project. The same result can be achieved by using simple…

VIEW QUESTION

How to use SingleChildScrollView – Flutter

this is my code... it says errorerror SingleChildScrollView( child: Row( mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ weightIndicator( 0, '0,2 kg', ), weightIndicator( 0, '0,4 kg', ), weightIndicator( 0, '0,6 kg', ), weightIndicator( 0, '0,8 kg', ), weightIndicator( 0, '1,0 kg', ), ],…

VIEW QUESTION

Error in Build file: androidappbuild.gradle line: 57 – Flutter

I'm running flutter build appbundle command and getting the error you can see on the image. what's wrong in signingConfigs. signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] } } buildTypes {…

VIEW QUESTION
Back To Top
Search