1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-21 13:37:29 +01:00
This commit is contained in:
Oystein Kristoffer Tveit 2020-06-30 15:15:31 +02:00
parent 8b094b6e23
commit ac346eb25c
2 changed files with 28 additions and 5 deletions

View File

@ -1,19 +1,22 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:unofficial_jisho_api/api.dart';
class KanjiResultCard extends StatelessWidget {
KanjiResult _result;
@override
Widget build(BuildContext context) {
return Container(
height: 100,
width: 100,
child: Text('Test'),
child: Text(_result.query),
);
}
KanjiResultCard(var result) {
KanjiResultCard(KanjiResult result) {
this._result = result;
}
}

View File

@ -0,0 +1,20 @@
import 'package:flutter/material.dart';
import 'package:jisho_study_tool/components/kanjiSearch/kanji_search_card.dart';
import 'package:jisho_study_tool/services/jisho_search.dart';
class KanjiSearch extends StatefulWidget {
@override
Widget build(BuildContext context) {
return Column(
children: [searchKanji('')],
);
}
@override
State<StatefulWidget> createState() {
// TODO: implement createState
throw UnimplementedError();
}
}