larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
572 stars 281 forks source link

Text styles options for the action buttons added. #428

Open hashimkhan122 opened 4 months ago

hashimkhan122 commented 4 months ago

This pull request introduces new text styles for various buttons within our application to ensure consistency and improve the user interface. Specifically, the following changes have been made:

New Button Text Styles:

Ignore Button Text Style: A distinct text style specifically for the "Ignore" button to ensure visual distinction and improved readability.

Later Button Text Style: A custom text style for the "Later" button to enhance its appearance and ensure it stands out.

Update Button Text Style: A unique text style for the "Update" button to provide a consistent look and feel across the application.

Generic Default Button Text Style:

A generic default button text style has been created to be applied whenever a specific text style is not provided for a button. This ensures that all buttons have a consistent and visually appealing text style, even if a custom style is not specified.

Changes Implemented

ButtonTextStyles Implementation:

  1. Defined custom text styles for the "Ignore," "Later," and "Update" buttons.
  2. Created a generic default text style for buttons that do not have a specific style passed.