budoux_dart

Creator: coderz1093

Last updated:

0 purchases

budoux_dart Image
budoux_dart Images

Languages

Categories

Add to Cart

Description:

budoux dart

BudouX-Dart #

This is the Dart implementation of BudouX.
This is referencing the Java implementation of Release v0.6.2 · google/budoux.
Flutter Example #
# pubspec.yaml
flutter:
assets:
- packages/budoux_dart/models/ja.json
# or ja_knbc.json
# or zh-hans.json
# or zh-hant.json
# or th.json
copied to clipboard
final budouX = BudouX(
await rootBundle.loadString('packages/budoux_dart/models/ja.json'),
// or ja_knbc.json
// or zh-hans.json
// or zh-hant.json
// or th.json
);
copied to clipboard
return Scaffold(
body: DefaultTextStyle(
style: const TextStyle(
fontSize: 48,
color: Colors.black,
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Text('今日はいい天気ですね。'),
const Divider(),
Wrap(
children: budouX
.parse(
'今日はいい天気ですね。',
)
.map(Text.new)
.toList(),
),
],
),
),
);
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.