mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2024-12-21 13:37:29 +01:00
Update
This commit is contained in:
parent
8b094b6e23
commit
ac346eb25c
@ -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;
|
||||
}
|
||||
|
||||
}
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user