Home > Mobile >  Flutter Dart 2D Array to Widget
Flutter Dart 2D Array to Widget

Time:09-24

I have a array. I want to print this array with title header. I tried a lot of things but couldn't find a solution.

$marks = array(
"TİTLE 1" => array(
array(
"image" => "https://image.com",
"name" => "AAAA",
"id" => 1111,),
array(
"image" => "https://image.com",
"name" => "AAAA",
"id" => 1111,),
),
"TİTLE 2" => array(
array(
"image" => "https://image.com",
"name" => "AAAA",
"id" => 1111,),
array(
"image" => "https://image.com",
"name" => "AAAA",
"id" => 1111,),
),
);

enter image description here

Hope this will help you

  • Related