Add width parameter to SignInButton to fix overflow issue #88, contributed by #91#118
Conversation
ZaynJarvis
commented
Aug 14, 2025
- Add nullable width property to SignInButton class
- Pass width parameter through to all SignInButtonBuilder calls
- Update example to demonstrate the new width functionality
- Maintains backward compatibility as width is optional
- Add nullable width property to SignInButton class - Pass width parameter through to all SignInButtonBuilder calls - Update example to demonstrate the new width functionality - Maintains backward compatibility as width is optional Co-authored-by: Liu Zhiheng <ZaynJarvis@users.noreply.github.com>
|
Claude finished @ZaynJarvis's task —— View job Pull Request Review: Add width parameter to SignInButtonI've completed my review of PR #118. Here's my comprehensive feedback: Todo List
✅ Code Quality & ImplementationStrengths:
Areas for Improvement:
|
|
@claude Potential Issues minWidth: mini ? width ?? 35.0 : null // button_builder.dart:81 Missing Assert Validation: Consider adding validation to prevent unreasonable width values: this is good, make the changes on this branch |
|
Claude finished @ZaynJarvis's task —— View job Todo List
Changes Implemented ✅I've successfully implemented the improvements to address the width parameter issues:
ImpactThese changes ensure that:
The changes have been committed and pushed to the |
- Add assert validation for width parameter in SignInButton constructor - Add assert validation for width and height in SignInButtonBuilder constructor - Fix width/height swap in mini button container logic - Ensures width parameter behaves correctly with mini buttons Co-authored-by: Liu Zhiheng <ZaynJarvis@users.noreply.github.com>
|
failed because claude check not allowed. skip |