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

Adjust TextGroup and SliverAppBarDelegate #6

Closed
Aoi-hosizora opened this issue Dec 28, 2020 · 1 comment
Closed

Adjust TextGroup and SliverAppBarDelegate #6

Aoi-hosizora opened this issue Dec 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Aoi-hosizora
Copy link
Owner

Aoi-hosizora commented Dec 28, 2020

Here should be add(xxx) rather than insert(0, xxx).

children: spans..insert(0, TextSpan(text: ' ')), // insert an empty TextSpan.

Add these options (or others) for TextGroup.

// showCursor: widget.showCursor,
// autofocus: widget.autofocus,

Here should use assert rather than math.max:

}) : assert(minHeight != null),
assert(maxHeight != null),

@Aoi-hosizora Aoi-hosizora added the enhancement New feature or request label Dec 28, 2020
@Aoi-hosizora Aoi-hosizora changed the title Adjust TextGroup Adjust TextGroup and SliverAppBarDelegate Dec 28, 2020
@Aoi-hosizora
Copy link
Owner Author

Done

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