skip to Main Content

I'm getting an error when pulling data from the Flutter Dio library

This is my code import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:dio/dio.dart'; import 'package:macistan/Standing.dart'; class InformationPage extends StatelessWidget { const InformationPage({Key? key}) : super(key: key); Future<List<StandingElement>> getstanding() async { try { var response = await Dio().get( "https://v3.football.api-sports.io/standings?league=203&season=2023", options: Options(headers: { 'x-rapidapi-host': "v3.football.api-sports.io",…

VIEW QUESTION

Full width button inside card inside row which is inside column in flutter

Column( mainAxisSize: MainAxisSize.min, children: [ Container( color: Colors.black, width: double.infinity, child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: awards .map((award) => Card( elevation: 3, surfaceTintColor: Colors.white, child: Padding( padding: const EdgeInsets.symmetric( horizontal: 8, vertical: 16.0), child: Column( mainAxisSize: MainAxisSize.min, // crossAxisAlignment: CrossAxisAlignment.stretch, <---…

VIEW QUESTION
Back To Top
Search