refactor(ui_kit): Refactored code using the UI components package, due to breaking changes
This commit is contained in:
@@ -73,20 +73,20 @@ class PricingCards extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
],
|
||||
cta: context.components.flatButtonComponent.call(
|
||||
label: const TextWrapper(
|
||||
'Contactez-nous',
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
normalStyle: FlatButtonThemeExtensionImpl.dark(
|
||||
theme: Theme.of(context),
|
||||
).normalStyle?.copyWith(
|
||||
backgroundColors:
|
||||
const MultiColor(Constants.blueBtnGradient),
|
||||
borderColors:
|
||||
const MultiColor(Constants.blueBtnGradient),
|
||||
cta: context.components.flatButtonComponent().call(
|
||||
label: const TextWrapper(
|
||||
'Contactez-nous',
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
),
|
||||
normalStyle: FlatButtonThemeExtensionImpl.dark(
|
||||
theme: Theme.of(context),
|
||||
).normalStyle?.copyWith(
|
||||
backgroundColors:
|
||||
const MultiColor(Constants.blueBtnGradient),
|
||||
borderColors:
|
||||
const MultiColor(Constants.blueBtnGradient),
|
||||
),
|
||||
),
|
||||
),
|
||||
const Gap(20),
|
||||
PricingCard(
|
||||
@@ -130,20 +130,20 @@ class PricingCards extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
],
|
||||
cta: context.components.flatButtonComponent.call(
|
||||
label: const TextWrapper(
|
||||
'Contactez-nous',
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
normalStyle: FlatButtonThemeExtensionImpl.dark(
|
||||
theme: Theme.of(context),
|
||||
).normalStyle?.copyWith(
|
||||
backgroundColors:
|
||||
const MultiColor(Constants.purpleGradient),
|
||||
borderColors:
|
||||
const MultiColor(Constants.purpleGradient),
|
||||
cta: context.components.flatButtonComponent().call(
|
||||
label: const TextWrapper(
|
||||
'Contactez-nous',
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
),
|
||||
normalStyle: FlatButtonThemeExtensionImpl.dark(
|
||||
theme: Theme.of(context),
|
||||
).normalStyle?.copyWith(
|
||||
backgroundColors:
|
||||
const MultiColor(Constants.purpleGradient),
|
||||
borderColors:
|
||||
const MultiColor(Constants.purpleGradient),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user