skip to Main Content

Flutter – Failed assertion: line 49 pos 16: 'initalPageIndex <= (imagesLink.length – 1) && initalPageIndex >= 0': is not true.)

I'm Trying To Show A Slider Using The Following Package fan_carousel_image_slider 0.1.2 Full Error Text: _AssertionError ('package:fan_carousel_image_slider/src/image_slider.dart': Failed assertion: line 49 pos 16: 'initalPageIndex <= (imagesLink.length - 1) && initalPageIndex >= 0': is not true.) I Tried To Change Attributes…

VIEW QUESTION

Why isn’t firebase_core package working & causing problems launching the app?

When i add the firebase_core package in pubspec.yaml and try to run the app i got this error: CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:71 (add_subdirectory): The source directory C:/Users/soft/Desktop/flutter_application/build/windows/extracted/firebase_cpp_sdk does not contain a CMakeLists.txt file. Exception: Unable to generate build files Exited…

VIEW QUESTION

Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' Flutter dart

Am getting this error in flutter, dart. '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List' The Model used is, import 'dart:convert'; Areas areasFromJson(String str) => Areas.fromJson(json.decode(str)); String areasToJson(Areas data) => json.encode(data.toJson()); class Areas { bool success; Data data; String…

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
Back To Top
Search