super_cupertino_navigation_bar
super_cupertino_navigation_bar copied to clipboard
add largeTitleWidget parameter to SuperLargeTitle
Enhance SuperLargeTitle with Optional Widget Support
This pull request introduces a new parameter to SuperLargeTitle, largeTitleWidget
, enabling the use of custom widgets instead of static strings.
Benefits:
- Increased flexibility for developers to create dynamic and interactive title sections.
- Improved visual customization beyond simple text.
Behavior:
- If
largeTitleWidget
is omitted, SuperLargeTitle functions as before with thelargeTitle
string. - When provided,
largeTitleWidget
takes precedence, overriding the text and its styling.
Impact:
- Backward compatibility is maintained.
- Developers gain more control over title appearance and behavior.
Please review and provide feedback!