kinship_calculator 1.0.0+2 copy "kinship_calculator: ^1.0.0+2" to clipboard
kinship_calculator: ^1.0.0+2 copied to clipboard

outdated

Chinese kinship/relationship calculator. 中国亲戚关系计算器, 亲戚关系称呼计算器。

example/kinship_calculator_example.dart

import 'package:kinship_calculator/kinship_calculator.dart';

void main() {
  final demo1 = KinshipCalculator.calculate(KinshipOption(
    text: '爸爸的妈妈的哥哥',
  ));

  final demo2 = KinshipCalculator.calculate(KinshipOption(
    text: '爸爸的爸爸',
    reverse: true,
  ));

  final demo3 = KinshipCalculator.calculate(KinshipOption(
    text: '爸爸的妈妈的哥哥',
    reverse: true,
    sex: 0,
  ));

  final demo4 = KinshipCalculator.calculate(KinshipOption(
    text: '曾祖母',
    type: 'chain',
  ));

  print('$demo1\n$demo2\n$demo3\n$demo4\n');
}
3
likes
30
pub points
40%
popularity

Publisher

verified publisheryeliulee.com

Chinese kinship/relationship calculator. 中国亲戚关系计算器, 亲戚关系称呼计算器。

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on kinship_calculator