Upgrade Skill Di ITBOX Jadi Lebih Hemat
Special Diskon 50%
Sampai 16 November 2026!
Hari
Jam
Menit
Detik
GARUDABOX

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Kuis.dart #187750
    Erick Darmawan
    Participant

      sudah solved coach, terima kasih banyak coach

      in reply to: _notes[index].updatedAt error di providers/notes.dart #187697
      Erick Darmawan
      Participant

        btw, saya versi flutter sy 3.6.0-13.0.pre

        in reply to: Kuis.dart #185190
        Erick Darmawan
        Participant

          import ‘package:flutter/material.dart’;

          import ‘pertanyaan.dart’;
          import ‘jawaban.dart’;

          class Quiz extends StatelessWidget {
          void Function() jawaban;
          List<Map<String, Object>> pertanyaan;
          int soalIndex;
          Quiz(
          {required this.jawaban,
          required this.pertanyaan,
          required this.soalIndex});

          @override
          Widget build(BuildContext context) {
          return Column(children: [
          Pertanyaan(pertanyaan[soalIndex][‘Pertanyaan’]),
          …(pertanyaan[soalIndex][‘Jawaban’] as List<Map<String, Object>>)
          .map((jawabanText) {
          return Jawaban(
          () => jawaban(jawabanText[‘skor’]), jawabanText[‘teks’].toString());
          })
          ]);
          }
          }

          errornya di jawabanText[‘skor’]
          errornya = ‘Too many positional arguments: 0 expected, but 1 found. Try removing the extra arguments.’

        Viewing 3 posts - 1 through 3 (of 3 total)
        Shopping cart0
        There are no products in the cart!
        Continue shopping