Implementation
static List<Widget> perks2(Datum package) {
const style1 = TextStyle(
fontWeight: FontWeight.w600,
color: ColorHelper.primaryColor1,
);
const style2 = TextStyle(
fontWeight: FontWeight.w600,
color: ColorHelper.primaryColor2,
);
switch (package.planType) {
// case PlanType.discoveryPass:
// return [
// _richText([
// const TextSpan(text: 'Search Exclusive PLUS Rates:', style: style1),
// const TextSpan(
// text:
// ' by activating NEOPASS Search-Credits, upgrade your membership if what you see, is what you need.')
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(
// text: 'Invitation Privileges:', style: style1),
// const TextSpan(
// text:
// ' Ability to invite new members '),
// const TextSpan(
// text:
// ' to join NEOPASS.CLUB ', style: style2),
// const TextSpan(
// text:
// '. Receive Neo-Miles once your invited members achieve the "Explorer Pass" membership or higher.'),
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(
// text: 'Share Your Benefits Program:', style: style1),
// const TextSpan(text: ' Option to donate part of your benefits and received Neo-Miles to charity, transparently recorded on the blockchain. '),
// const TextSpan(text: 'Don\'t just Trust - Verify.', style: style2),
// ]),
// ];
case PlanType.explorerPass:
return [
_neoOneSmart(style1, style2, package),
16.dp.SpaceX,
_neoMilesBonus(style1, style2, package),
16.dp.SpaceX,
_invitationPrivileges(style1, style2, package),
16.dp.SpaceX,
_shareBenefits(style1, style2, package),
];
case PlanType.signaturePass:
return [
_neoOneSmart(style1, style2, package),
16.dp.SpaceX,
_neoMilesBonus(style1, style2, package),
16.dp.SpaceX,
_invitationPrivileges(style1, style2, package),
16.dp.SpaceX,
_shareBenefits(style1, style2, package),
16.dp.SpaceX,
_richText([
const TextSpan(
text: '*Complimentary Beta-Member Prestige PASS does not include the following Add-Ons: NEO-Miles Bonus and Search-Credit Bonus.*', style: style1),
]),
];
// case PlanType.elitePass:
// return [
// _neoOneSmart(style1, style2, package),
// 16.dp.SpaceX,
// _neoMilesBonus(style1, style2, package),
// 16.dp.SpaceX,
// _invitationPrivileges(style1, style2, package),
// 16.dp.SpaceX,
// _shareBenefits(style1, style2, package),
// ];
case PlanType.prestigePass:
return [
_neoOneSmart(style1, style2, package),
16.dp.SpaceX,
_neoMilesBonus(style1, style2, package),
16.dp.SpaceX,
_invitationPrivileges(style1, style2, package),
16.dp.SpaceX,
_shareBenefits(style1, style2, package),
];
// case PlanType.sovereignPass:
// return [
// _richText([
// const TextSpan(
// text: 'Exclusive Access to Neo Small World Package: ',
// style: style1),
// const TextSpan(
// text: 'Includes 250,000 award miles ', style: style2),
// const TextSpan(
// text:
// 'valid for 3 years. ASMALLWORLD is the leading travel and lifestyle network, '),
// const TextSpan(
// text:
// 'and through our partnership, you gain exclusive access to their luxury benefits at a special rate. '),
// const TextSpan(
// text:
// 'This membership is more than just an investment in up to 500,000 airline miles—'),
// const TextSpan(
// text:
// 'it’s a gateway to exceptional travel experiences, luxurious perks, and a global community of like-minded individuals. '),
// const TextSpan(
// text:
// 'With an ASMALLWORLD membership, you’ll enjoy privileges from elite partners like Emirates, Jumeirah, SIXT, and the World’s Finest Clubs. '),
// const TextSpan(
// text:
// 'Travel in style, make valuable connections, and enjoy unparalleled access to the finest in lifestyle and hospitality.'),
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(text: 'Neo-Miles Bonus:', style: style1),
// const TextSpan(text: ' Receive your first '),
// TextSpan(text: '${package.neoMilesBonus ?? 0} Neo-Miles.', style: style2),
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(
// text: 'Share Your Benefits Charity Program:', style: style1),
// const TextSpan(
// text:
// ' Option to donate part or all of savings and received Neo-Miles to charity, transparently recorded on the blockchain.')
// ]),
// ];
// case PlanType.sovereignPassPlus:
// return [
// _richText([
// const TextSpan(
// text: 'Exclusive Access to Neo Small World Package: ',
// style: style1),
// const TextSpan(
// text: 'Includes 500,000 award miles ', style: style2),
// const TextSpan(
// text:
// 'valid for 3 years. ASMALLWORLD is the leading travel and lifestyle network, '),
// const TextSpan(
// text:
// 'and through our partnership, you gain exclusive access to their luxury benefits at a special rate. '),
// const TextSpan(
// text:
// 'This membership is more than just an investment in up to 500,000 airline miles—'),
// const TextSpan(
// text:
// 'it’s a gateway to exceptional travel experiences, luxurious perks, and a global community of like-minded individuals. '),
// const TextSpan(
// text:
// 'With an ASMALLWORLD membership, you’ll enjoy privileges from elite partners like Emirates, Jumeirah, SIXT, and the World’s Finest Clubs. '),
// const TextSpan(
// text:
// 'Travel in style, make valuable connections, and enjoy unparalleled access to the finest in lifestyle and hospitality.'),
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(text: 'Neo-Miles Bonus:', style: style1),
// const TextSpan(text: ' Receive your first '),
// TextSpan(text: '${package.neoMilesBonus ?? 0} Neo-Miles.', style: style2),
// ]),
// 16.dp.SpaceX,
// _richText([
// const TextSpan(
// text: 'Share Your Benefits Charity Program:', style: style1),
// const TextSpan(
// text:
// ' Option to donate part or all of savings and received Neo-Miles to charity, transparently recorded on the blockchain.')
// ]),
// ];
default:
return [];
}
}