skip to Main Content

Im trying to write code to get (doc id) from Firebase

Look at my database structure: and here is my code that I want to use ID in : Widget build(BuildContext context) { return SafeArea( child: InkWell( borderRadius: BorderRadius.circular(30), child: Dismissible( key: UniqueKey(), direction: DismissDirection.startToEnd, background: Container( color: Colors.red, child: Row(…

VIEW QUESTION

Flutter Pagination with WordPress REST API

I am trying to get my WordPress posts in my Flutter Application and I am getting posts successfully. Now the problem is that only ten posts are displaying. Future<List> fetchWpCats() async{ final response = await http.get( Uri.parse('https://rashtrasandeshnews.com/wp-json/wp/v2/posts'), headers: {"Accept": "application/json"}…

VIEW QUESTION
Back To Top
Search