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

✨ Added input decoration class #153

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

manoj-simform
Copy link
Collaborator

No description provided.

@@ -194,9 +194,6 @@ import 'package:flutter_credit_card/flutter_credit_card.dart';
expiryDateKey: expiryDateKey,
cardHolderKey: cardHolderKey,
onCreditCardModelChange: (CreditCardModel data) {}, // Required
themeColor: Colors.black, // Required
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add breaking change section in readme.

@manoj-simform manoj-simform force-pushed the docs/readme_changes branch 5 times, most recently from 7984540 to 90fa932 Compare October 4, 2023 13:08
import 'package:flutter_credit_card/src/utils/constants.dart';

class InputConfiguration {
const InputConfiguration({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add documentation comment stating the use of this class.

README.md Outdated
),
),
```

## Breaking Changes in 4.x.x
- `themeColor`, `textColor`, and `cursorColor` have been removed from `CreditCardForm` as it can't detect the application theme. Please check out the example app to learn how to apply those using `Theme`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please mention removal of input decoration fields and how to use in the newer version.

README.md Outdated
labelText: 'Expired Date',
hintText: 'XX/XX',
),
cvvCodeDecoration: const InputDecoration(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove const from InputDecoration widget as it is specified at the parent constructor and thus is not needed.

@manoj-simform manoj-simform force-pushed the docs/readme_changes branch 2 times, most recently from c5c0804 to deee088 Compare October 5, 2023 06:59
CHANGELOG.md Outdated
- The `cardNumberDecoration`, `expiryDateDecoration`, `cvvCodeDecoration`, and `cardHolderDecoration`
properties are moved to the newly added `InputDecoration` class that also has `textStyle` properties
for all the textFields of the `CreditCardForm`.
- Updated `readme.md` to have migration guide to Version 4.0.0.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this.

@manoj-simform manoj-simform changed the title 🐛 Update readme file ✨ Added input decoration class Oct 5, 2023
@vatsaltanna vatsaltanna merged commit ac89a76 into master Oct 5, 2023
1 check passed
@vatsaltanna vatsaltanna deleted the docs/readme_changes branch October 5, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants