Update Saqel Platform: 2026-09-04 02:57:19
This commit is contained in:
+47
-27
@@ -50,7 +50,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
'word': 'العِلْمَ',
|
||||
'role': 'اسم إنَّ',
|
||||
'case': 'منصوب وعلامة نصبه الفتحة الظاهرة على آخره',
|
||||
'explanation': 'هو المسند إليه في الأصل، نُصب لدخول الحرف الناسخ عليه.',
|
||||
'explanation':
|
||||
'هو المسند إليه في الأصل، نُصب لدخول الحرف الناسخ عليه.',
|
||||
'tag': 'اسم منصوب',
|
||||
},
|
||||
{
|
||||
@@ -64,7 +65,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
'word': 'يَهْدِي',
|
||||
'role': 'فعل مضارع مرفوع (وجملة فعلية في محل رفع نعت)',
|
||||
'case': 'مرفوع بالضمة المقدرة على الياء للثقل، والفاعل ضمير مستتر',
|
||||
'explanation': 'الجمل بعد النكرات صفات؛ فجملة (يهدي) نعت لكلمة (نور).',
|
||||
'explanation':
|
||||
'الجمل بعد النكرات صفات؛ فجملة (يهدي) نعت لكلمة (نور).',
|
||||
'tag': 'فعل + نعت',
|
||||
},
|
||||
{
|
||||
@@ -84,7 +86,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
],
|
||||
},
|
||||
{
|
||||
'fullText': 'قَرَأَ الطَّالِبُ المُجْتَهِدُ كِتَابَيْنِ مُفِيدَيْنِ صَبَاحاً',
|
||||
'fullText':
|
||||
'قَرَأَ الطَّالِبُ المُجْتَهِدُ كِتَابَيْنِ مُفِيدَيْنِ صَبَاحاً',
|
||||
'type': 'جملة فعلية تامة',
|
||||
'rootNode': 'الجملة الفعلية (فعل + فاعل + مفعول به + فضلات)',
|
||||
'words': [
|
||||
@@ -92,35 +95,40 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
'word': 'قَرَأَ',
|
||||
'role': 'فعل ماضٍ مبني',
|
||||
'case': 'مبني على الفتح الظاهر على آخره',
|
||||
'explanation': 'فعل ماضٍ مجرد، مبني للمعلوم، يدل على حدث في الزمن الماضي.',
|
||||
'explanation':
|
||||
'فعل ماضٍ مجرد، مبني للمعلوم، يدل على حدث في الزمن الماضي.',
|
||||
'tag': 'فعل ماضٍ',
|
||||
},
|
||||
{
|
||||
'word': 'الطَّالِبُ',
|
||||
'role': 'فاعل مرفوع',
|
||||
'case': 'مرفوع وعلامة رفعه الضمة الظاهرة',
|
||||
'explanation': 'من قام بالفعل، معرف بأل، ركن أساسي في الجملة الفعلية.',
|
||||
'explanation':
|
||||
'من قام بالفعل، معرف بأل، ركن أساسي في الجملة الفعلية.',
|
||||
'tag': 'فاعل مرفوع',
|
||||
},
|
||||
{
|
||||
'word': 'المُجْتَهِدُ',
|
||||
'role': 'نعت (صفة) للطالب',
|
||||
'case': 'مرفوع وعلامة رفعه الضمة الظاهرة',
|
||||
'explanation': 'طابق المنعوت في التعريف، الإفراد، التذكير، وحركة الإعراب.',
|
||||
'explanation':
|
||||
'طابق المنعوت في التعريف، الإفراد، التذكير، وحركة الإعراب.',
|
||||
'tag': 'نعت / صفة',
|
||||
},
|
||||
{
|
||||
'word': 'كِتَابَيْنِ',
|
||||
'role': 'مفعول به منصوب',
|
||||
'case': 'منصوب وعلامة نصبه الياء لأنه مثنى',
|
||||
'explanation': 'وقع عليه فعل القراءة، والمثنى يُنصب بالياء وتُكسر نونه.',
|
||||
'explanation':
|
||||
'وقع عليه فعل القراءة، والمثنى يُنصب بالياء وتُكسر نونه.',
|
||||
'tag': 'مثنى منصوب',
|
||||
},
|
||||
{
|
||||
'word': 'مُفِيدَيْنِ',
|
||||
'role': 'نعت لكتابين',
|
||||
'case': 'منصوب وعلامة نصبه الياء لأنه مثنى',
|
||||
'explanation': 'صفة تابعة للمفعول به في التثنية والتنكير والنصب بالياء.',
|
||||
'explanation':
|
||||
'صفة تابعة للمفعول به في التثنية والتنكير والنصب بالياء.',
|
||||
'tag': 'نعت مثنى',
|
||||
},
|
||||
{
|
||||
@@ -142,8 +150,10 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
final List<Map<String, dynamic>> _poetryMeters = [
|
||||
{
|
||||
'name': 'البحر البسيط',
|
||||
'key': 'إِنَّ البَسِيطَ لَدَيْهِ يُبْسَطُ الأَمَلُ .. مُسْتَفْعِلُنْ فاعِلُنْ مُسْتَفْعِلُنْ فَعِلُ',
|
||||
'verse': 'لِكُلِّ شَيْءٍ إِذَا مَا تَمَّ نُقْصَانُ .. فَلَا يُغَرَّ بِطِيبِ العَيْشِ إِنْسَانُ',
|
||||
'key':
|
||||
'إِنَّ البَسِيطَ لَدَيْهِ يُبْسَطُ الأَمَلُ .. مُسْتَفْعِلُنْ فاعِلُنْ مُسْتَفْعِلُنْ فَعِلُ',
|
||||
'verse':
|
||||
'لِكُلِّ شَيْءٍ إِذَا مَا تَمَّ نُقْصَانُ .. فَلَا يُغَرَّ بِطِيبِ العَيْشِ إِنْسَانُ',
|
||||
'poet': 'أبو البقاء الرندي',
|
||||
'pattern': ['مُسْتَفْعِلُنْ', 'فَاعِلُنْ', 'مُسْتَفْعِلُنْ', 'فَعِلُنْ'],
|
||||
'scansion': ['//0//0', '/0//0', '//0//0', '///0'],
|
||||
@@ -151,8 +161,10 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
},
|
||||
{
|
||||
'name': 'البحر الوافر',
|
||||
'key': 'بُحُورُ الشِّعْرِ وَافِرُهَا جَمِيلُ .. مُفَاعَلَتُنْ مُفَاعَلَتُنْ فَعُولُ',
|
||||
'verse': 'إِذَا غَامَرْتَ فِي شَرَفٍ مَرُومِ .. فَلَا تَقْنَعْ بِمَا دُونَ النُّجُومِ',
|
||||
'key':
|
||||
'بُحُورُ الشِّعْرِ وَافِرُهَا جَمِيلُ .. مُفَاعَلَتُنْ مُفَاعَلَتُنْ فَعُولُ',
|
||||
'verse':
|
||||
'إِذَا غَامَرْتَ فِي شَرَفٍ مَرُومِ .. فَلَا تَقْنَعْ بِمَا دُونَ النُّجُومِ',
|
||||
'poet': 'المتنبي',
|
||||
'pattern': ['مُفَاعَلَتُنْ', 'مُفَاعَلَتُنْ', 'فَعُولُنْ'],
|
||||
'scansion': ['//0///0', '//0///0', '//0/0'],
|
||||
@@ -160,8 +172,10 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
},
|
||||
{
|
||||
'name': 'البحر الكامل',
|
||||
'key': 'كَمُلَ الجَمَالُ مِنَ البُحُورِ الكَامِلُ .. مُتَفَاعِلُنْ مُتَفَاعِلُنْ مُتَفَاعِلُ',
|
||||
'verse': 'وَإِذَا صَحَوْتُ فَمَا أُقَصِّرُ عَنْ نَدَى .. وَكَمَا عَلِمْتِ شَمَائِلِي وَتَكَرُّمِي',
|
||||
'key':
|
||||
'كَمُلَ الجَمَالُ مِنَ البُحُورِ الكَامِلُ .. مُتَفَاعِلُنْ مُتَفَاعِلُنْ مُتَفَاعِلُ',
|
||||
'verse':
|
||||
'وَإِذَا صَحَوْتُ فَمَا أُقَصِّرُ عَنْ نَدَى .. وَكَمَا عَلِمْتِ شَمَائِلِي وَتَكَرُّمِي',
|
||||
'poet': 'عنترة بن شداد',
|
||||
'pattern': ['مُتَفَاعِلُنْ', 'مُتَفَاعِلُنْ', 'مُتَفَاعِلُنْ'],
|
||||
'scansion': ['///0//0', '///0//0', '///0//0'],
|
||||
@@ -241,7 +255,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: isSelected ? const Color(0xFF10B981) : const Color(0xFF1E293B),
|
||||
color:
|
||||
isSelected ? const Color(0xFF10B981) : const Color(0xFF1E293B),
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child: Row(
|
||||
@@ -293,14 +308,15 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
color: Colors.white),
|
||||
),
|
||||
Container(
|
||||
padding:
|
||||
const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 3),
|
||||
decoration: BoxDecoration(
|
||||
color: const Color(0xFF10B981).withOpacity(0.15),
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
),
|
||||
child: Text(
|
||||
widget.customSentences != null ? 'أمثلة الكتاب + ذكاء اصطناعي' : 'وزاري · التوجيهي 2008',
|
||||
widget.customSentences != null
|
||||
? 'أمثلة الكتاب + ذكاء اصطناعي'
|
||||
: 'وزاري · التوجيهي 2008',
|
||||
style: const TextStyle(
|
||||
fontSize: 11,
|
||||
fontWeight: FontWeight.w700,
|
||||
@@ -347,10 +363,9 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
),
|
||||
);
|
||||
}),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
@@ -555,11 +570,13 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
const SizedBox(height: 14),
|
||||
|
||||
// Role
|
||||
_infoRow('الموقع الإعرابي', wordData['role'], const Color(0xFF38BDF8)),
|
||||
_infoRow(
|
||||
'الموقع الإعرابي', wordData['role'], const Color(0xFF38BDF8)),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
// Case & Sign
|
||||
_infoRow('الحالة والعلامة', wordData['case'], const Color(0xFFFBBF24)),
|
||||
_infoRow(
|
||||
'الحالة والعلامة', wordData['case'], const Color(0xFFFBBF24)),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
// Pedagogical Socratic explanation
|
||||
@@ -619,7 +636,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
_isPlayingBeat = false;
|
||||
}),
|
||||
child: Container(
|
||||
margin: EdgeInsets.only(left: idx < _poetryMeters.length - 1 ? 8 : 0),
|
||||
margin: EdgeInsets.only(
|
||||
left: idx < _poetryMeters.length - 1 ? 8 : 0),
|
||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: isCur
|
||||
@@ -714,7 +732,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
final scan = scansions[idx];
|
||||
return Expanded(
|
||||
child: Container(
|
||||
margin: EdgeInsets.only(left: idx < patterns.length - 1 ? 8 : 0),
|
||||
margin:
|
||||
EdgeInsets.only(left: idx < patterns.length - 1 ? 8 : 0),
|
||||
padding: const EdgeInsets.all(12),
|
||||
decoration: BoxDecoration(
|
||||
gradient: const LinearGradient(
|
||||
@@ -778,7 +797,8 @@ class _ArabicInteractiveLabViewState extends State<ArabicInteractiveLabView>
|
||||
_isPlayingBeat
|
||||
? 'إيقاف الإيقاع العروضي التفاعلي'
|
||||
: 'عزف الإيقاع العروضي الموزون (${meter['speedBpm']} نقرة/دقيقة) 🥁',
|
||||
style: const TextStyle(fontSize: 13.5, fontWeight: FontWeight.w700),
|
||||
style:
|
||||
const TextStyle(fontSize: 13.5, fontWeight: FontWeight.w700),
|
||||
),
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: _isPlayingBeat
|
||||
|
||||
Reference in New Issue
Block a user