moepoi.dev/lib/components/resume_language.dart
2022-06-05 10:18:03 +07:00

26 lines
No EOL
1.2 KiB
Dart

import 'package:flutter/material.dart';
import 'package:moepoi_site/data/resume.dart' show resumeData;
class ResumeLanguage extends StatelessWidget {
const ResumeLanguage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
const Text('Language', style: TextStyle(fontSize: 30, fontWeight: FontWeight.w700),),
const SizedBox(height: 20.0,),
Text(resumeData['language']![0]['name'].toString(), style: const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),),
const SizedBox(height: 5.0,),
Text(resumeData['language']![0]['level'].toString(), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),),
const SizedBox(height: 10.0,),
Text(resumeData['language']![1]['name'].toString(), style: const TextStyle(fontSize: 18, fontWeight: FontWeight.w600),),
const SizedBox(height: 5.0,),
Text(resumeData['language']![1]['level'].toString(), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),),
]
);
}
}