Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useful Utils for use with Flutter #5

Open
2 tasks
KoheiKanagu opened this issue Dec 4, 2023 · 1 comment
Open
2 tasks

Useful Utils for use with Flutter #5

KoheiKanagu opened this issue Dec 4, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@KoheiKanagu
Copy link
Owner

  • Text widget
  • TextSpan
@KoheiKanagu KoheiKanagu added the enhancement New feature or request label Dec 4, 2023
@KoheiKanagu KoheiKanagu self-assigned this Dec 4, 2023
@KoheiKanagu
Copy link
Owner Author

extension StringExtension on String {
  Widget wrapBudouX(
    Text Function(String e) wrapText, {
    WrapAlignment alignment = WrapAlignment.start,
  }) =>
      Wrap(
        alignment: alignment,
        children: budouX
            .parse(this)
            .map(
              (e) => wrapText(e),
            )
            .toList(),
      );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant