v0.0.3
teeth_anatomy
teeth_anatomy은 치아의 해부학을 보여주며 의료 소프트웨어에 사용하기에 좋은 패키지입니다
6좋아요 830일 다운로드115Pub 점수
AndroidiOSWebmacOSWindowsLinux
치과 해부학 표시 패키지
{"sdk":"flutter"}^1.18.0^1.0.6^1.0.2^1.1.6{"sdk":"flutter"}3.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Dental anatomy display package
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
teeth_anatomy: <latest_version>
import 'package:teeth_anatomy/teeth_custom_paint.dart';
class MyApp extends Stateless {
Widget build(BuildContext context) {
return TeethWidget(
borderWith: 1,
size: 500,
textPaddingLeft: -10,
textPaddingTop: 1,
selectedColor: Colors.purpleAccent,
unSelectedColor: Colors.white,
borderColor: Colors.green,
textStyle: const TextStyle(
color: Colors.black, fontWeight: FontWeight.bold, fontSize: 12),
onTap: (String id, selected) {
if (selected) {
tooth.add(TeethModel(
id: id,
selectedColor: Colors.primaries[Random().nextInt(16)]));
} else {
tooth.removeWhere((r) => r.id == id);
}
setState(() {});
},
teeth: tooth,
);
}
}
https://github.com/user-attachments/assets/24f580ee-b180-4f2f-bea7-3bf3b495fb6e
https://github.com/user-attachments/assets/dd396142-7520-4c33-b6fb-1da2b2b06c97
https://github.com/user-attachments/assets/32f4fd58-74c1-42a1-82a6-c90fe309752a