Update
This commit is contained in:
parent
6d72aa41c3
commit
8b094b6e23
|
@ -12,4 +12,8 @@ class KanjiResultCard extends StatelessWidget {
|
|||
child: Text('Test'),
|
||||
);
|
||||
}
|
||||
|
||||
KanjiResultCard(var result) {
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:unofficial_jisho_api/api.dart';
|
||||
|
||||
import 'package:jisho_study_tool/components/kanjiSearch/kanji_search_card.dart';
|
||||
|
||||
Future<Widget> searchKanji(String kanji) async {
|
||||
KanjiResult result = await searchForKanji(kanji);
|
||||
return KanjiResultCard(result);
|
||||
}
|
|
@ -190,7 +190,7 @@ packages:
|
|||
name: unofficial_jisho_api
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.2"
|
||||
version: "1.1.0"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -23,7 +23,7 @@ dependencies:
|
|||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: ^0.1.2
|
||||
unofficial_jisho_api: ^1.0.2
|
||||
unofficial_jisho_api: ^1.1.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
Loading…
Reference in New Issue