skip to Main Content

ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and package:modal_bottom_sheet

Error: 'ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart'. ../…/src/material_with_modal_page_route.dart:4 import '../modal_bottom_sheet.dart'; ^^^^^^^^^^^^^^^^^^^^^ : Error: 'ModalBottomSheetRoute' is imported from both 'package:flutter/src/material/bottom_sheet.dart' and 'package:modal_bottom_sheet/src/bottom_sheet_route.dart'. ../…/bottom_sheets/material_bottom_sheet.dart:28 .push(ModalBottomSheetRoute( ^^^^^^^^^^^^^^^^^^^^^ : Error: A value of type 'Object?' can't be returned from an async function…

VIEW QUESTION

dropdown search flutter type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast

i am trying to make a dropdown button with firebase api DropdownSearch<Tipe>( popupProps: PopupProps.dialog( showSearchBox: true, itemBuilder: (context, item, isSelected) => ListTile( title: Text(item.name), ), ), dropdownDecoratorProps: DropDownDecoratorProps( dropdownSearchDecoration: InputDecoration( labelText: "Tipe", ), ), onChanged: (value) { setState(() { idTipe…

VIEW QUESTION

dart organize list of map – Flutter

I have a list of map that looks like: List<dynamic> lists = [ {"name":"SpiderMan", "genere":"superhero" }, {"name":"Batman", "genere":"superhero" }, {"name":"Notebook", "genere":"romance" }, {"name":"Titanic", "genere":"romance" } ] And what I want to do is that I want to organize the movies…

VIEW QUESTION
Back To Top
Search