Search packages, repositories and app categories

GitHub repositorymohammadprgrm20123/Teeth_anatomy

Teeth_anatomy

Dental anatomy display package

Teeth_anatomy project cover
Stars
4
Forks
0
Last push (UTC)
Sep 24, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

Teeth_anatomy

Dental anatomy display package

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  teeth_anatomy: <latest_version>

Usage

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

mohammadprgrm GitHub avatar
GitHub author

mohammadprgrm ↗

Developer

LanguagesC++CMakeDartSwiftCHTMLKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 7 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗