super_cupertino_navigation_bar icon indicating copy to clipboard operation
super_cupertino_navigation_bar copied to clipboard

add largeTitleWidget parameter to SuperLargeTitle

Open itsatifsiddiqui opened this issue 1 year ago • 0 comments

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 the largeTitle 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!

simulator_screenshot_6AA9BF7E-2A67-454F-981E-634A1997D984

itsatifsiddiqui avatar Feb 20 '24 21:02 itsatifsiddiqui