Files
Tracker/lib/data/learn_content.dart

731 lines
32 KiB
Dart

library learn_content;
/// Learn article content for the Husband section
/// Contains educational articles about understanding her cycle, biblical manhood, and NFP
class LearnArticle {
final String id;
final String title;
final String subtitle;
final String category;
final List<LearnSection> sections;
const LearnArticle({
required this.id,
required this.title,
required this.subtitle,
required this.category,
required this.sections,
});
}
class LearnSection {
final String? heading;
final String content;
const LearnSection({this.heading, required this.content});
}
/// All learn articles for the husband
class LearnContent {
static const List<LearnArticle> articles = [
// ========== UNDERSTANDING HER ==========
LearnArticle(
id: 'four_phases',
title: 'The 4 Phases of Her Cycle',
subtitle: 'What\'s happening in her body each month',
category: 'Understanding Her',
sections: [
LearnSection(
content:
'Your wife\'s body goes through four distinct phases each month, '
'each bringing different physical and emotional experiences. Understanding '
'these phases helps you be a more attentive and supportive husband.',
),
LearnSection(
heading: '1. Menstrual Phase (Days 1-5)',
content:
'This is when her period occurs. The uterine lining sheds, which can '
'cause cramping, fatigue, and lower energy. Many women experience headaches, '
'bloating, and mood sensitivity during this time.\n\n'
'💡 How you can help: Offer comfort items, help with household tasks, '
'and be patient with her energy levels.',
),
LearnSection(
heading: 'Dysmenorrhea (Painful Periods)',
content:
'While some cramping is normal, severe menstrual pain is called '
'Dysmenorrhea. It affects many women and can be truly debilitating.\n\n'
'**Primary Dysmenorrhea**: Common menstrual cramps caused by '
'prostaglandins (chemicals that make the uterus contract). Pain '
'usually starts 1-2 days before or at the start of the period.\n\n'
'**Secondary Dysmenorrhea**: Pain caused by an underlying medical '
'condition like endometriosis or fibroids. This pain often lasts '
'longer than normal cramps.\n\n'
'💡 How you can help: Provide a heating pad, offer a gentle massage, '
'ensure she has painkillers ready, and encourage her to see a doctor '
'if the pain is consistently severe.',
),
LearnSection(
heading: '2. Follicular Phase (Days 6-12)',
content:
'After her period ends, estrogen begins rising. This typically brings '
'increased energy, better mood, and higher confidence. She may feel more '
'social and creative during this time.\n\n'
'💡 How you can help: This is a great time for date nights, important '
'conversations, and planning activities together.',
),
LearnSection(
heading: '3. Ovulation Phase (Days 13-15)',
content:
'This is peak fertility. Estrogen peaks and her body releases an egg. '
'Many women feel their best during this phase—higher energy, increased '
'confidence, and feeling more attractive.\n\n'
'💡 How you can help: Appreciate and affirm her. This is when she may feel '
'most connected and intimate.',
),
LearnSection(
heading: '4. Luteal Phase (Days 16-28)',
content:
'Progesterone rises after ovulation. If pregnancy doesn\'t occur, '
'hormone levels drop, leading to PMS symptoms like mood swings, irritability, '
'fatigue, cravings, and bloating.\n\n'
'💡 How you can help: Extra patience and understanding. Her feelings are real, '
'even when they seem disproportionate to the situation.',
),
LearnSection(
heading: 'Remember',
content:
'"Husbands, love your wives, just as Christ loved the church and gave '
'himself up for her." — Ephesians 5:25\n\n'
'Understanding her cycle is one practical way to live out sacrificial love.',
),
],
),
LearnArticle(
id: 'mood_changes',
title: 'Why Does Her Mood Change?',
subtitle: 'Hormones explained simply',
category: 'Understanding Her',
sections: [
LearnSection(
content:
'If you\'ve ever wondered why your wife seems like a different person '
'at different times of the month, the answer lies in hormones. These powerful '
'chemical messengers directly affect her brain, emotions, and body.',
),
LearnSection(
heading: 'The Key Hormones',
content:
'**Estrogen** — The "feel good" hormone. When it\'s high, she typically '
'feels more energetic, positive, and socially engaged. When it drops suddenly '
'(before her period), it can cause mood dips.\n\n'
'**Progesterone** — The "calming" hormone. It rises after ovulation and can cause '
'sleepiness, anxiety, or feeling more emotional. When it drops before her period, '
'it contributes to PMS symptoms.\n\n'
'**Testosterone** — Yes, women have this too! It peaks around ovulation and '
'contributes to increased desire and confidence.',
),
LearnSection(
heading: 'It\'s Not "In Her Head"',
content:
'Studies show that hormonal fluctuations create real changes in brain chemistry. '
'The limbic system (emotional center) is highly sensitive to hormone levels. When '
'her hormones shift, her emotional responses genuinely change—this isn\'t weakness '
'or drama, it\'s biology.',
),
LearnSection(
heading: 'What This Means for You',
content: '• Don\'t dismiss her feelings as "just hormones"\n'
'• Recognize patterns (she may have harder days predictably)\n'
'• Adjust your expectations around her cycle\n'
'• Offer extra grace during the luteal phase and period\n'
'• Celebrate with her during her high-energy days',
),
LearnSection(
heading: 'Scripture to Remember',
content:
'"Live with your wives in an understanding way, showing honor to the woman '
'as the weaker vessel, since they are heirs with you of the grace of life, so '
'that your prayers may not be hindered." — 1 Peter 3:7',
),
],
),
LearnArticle(
id: 'pms_is_real',
title: 'PMS is Real',
subtitle: 'Medical facts for supportive husbands',
category: 'Understanding Her',
sections: [
LearnSection(
content:
'Premenstrual Syndrome (PMS) affects up to 90% of women to some degree. '
'For 20-40% of women, symptoms significantly impact daily life. This is not '
'exaggeration or seeking attention—it\'s a medically recognized condition.',
),
LearnSection(
heading: 'Physical Symptoms',
content: '• Bloating and water retention (clothes may feel tight)\n'
'• Breast tenderness and swelling\n'
'• Headaches or migraines\n'
'• Fatigue and low energy\n'
'• Muscle aches and joint pain\n'
'• Cramping (can range from mild to severe)\n'
'• Changes in appetite and food cravings\n'
'• Sleep disturbances',
),
LearnSection(
heading: 'Emotional Symptoms',
content: '• Irritability and mood swings\n'
'• Sadness or crying spells\n'
'• Anxiety or tension\n'
'• Difficulty concentrating\n'
'• Feeling overwhelmed\n'
'• Decreased interest in usual activities\n'
'• Sensitivity to rejection',
),
LearnSection(
heading: 'PMDD: When It\'s Severe',
content:
'About 3-8% of women experience Premenstrual Dysphoric Disorder (PMDD), '
'a severe form of PMS. Symptoms can include depression, hopelessness, severe '
'anxiety, and difficulty functioning. If your wife experiences severe symptoms, '
'encourage her to talk to a doctor—treatment is available.',
),
LearnSection(
heading: 'How to Be Supportive',
content: '✓ Believe her when she says she doesn\'t feel well\n'
'✓ Don\'t take her irritability personally (it\'s the hormones)\n'
'✓ Offer practical help without being asked\n'
'✓ Keep comfort items available (heating pad, chocolate, tea)\n'
'✓ Give her space when she needs it\n'
'✓ Be extra gentle with your words during this time\n'
'✓ Track her cycle too so you can anticipate and prepare',
),
LearnSection(
heading: 'A Husband\'s Prayer',
content:
'"Lord, help me to be patient and understanding when my wife is struggling. '
'Give me eyes to see her needs and a heart willing to serve. Help me reflect '
'Your love to her, especially when it\'s hard. Amen."',
),
],
),
// ========== BIBLICAL MANHOOD ==========
LearnArticle(
id: 'loving_like_christ',
title: 'Loving Like Christ',
subtitle: 'Ephesians 5 in daily practice',
category: 'Biblical Manhood',
sections: [
LearnSection(
content:
'"Husbands, love your wives, as Christ loved the church and gave himself '
'up for her." — Ephesians 5:25\n\n'
'This is the highest calling for a husband. But what does it actually look like '
'in everyday life, especially related to her cycle?',
),
LearnSection(
heading: 'Christ\'s Love is Sacrificial',
content:
'Jesus gave up His comfort, His preferences, and ultimately His life. '
'For you, this means:\n\n'
'• Helping with housework when she\'s exhausted from cramps\n'
'• Keeping your frustration in check when she\'s emotional\n'
'• Running to the store for her needs without complaining\n'
'• Giving up your plans to care for her when she\'s unwell',
),
LearnSection(
heading: 'Christ\'s Love is Patient',
content:
'Jesus was patient with His disciples\' failures and slow understanding. '
'For you, this means:\n\n'
'• Not rushing her to "get over" how she\'s feeling\n'
'• Listening without immediately trying to fix things\n'
'• Being willing to have the same conversation again\n'
'• Accepting her where she is, not where you want her to be',
),
LearnSection(
heading: 'Christ\'s Love is Nourishing',
content:
'"He nourishes and cherishes her" (Ephesians 5:29). For you, this means:\n\n'
'• Speaking words of encouragement and affirmation\n'
'• Providing for her physical comfort\n'
'• Protecting her from unnecessary stress\n'
'• Building her up, never tearing her down',
),
LearnSection(
heading: 'Christ\'s Love is Understanding',
content:
'Jesus knows our weaknesses because He experienced human flesh. '
'For you, this means:\n\n'
'• Learning about her cycle and what she experiences\n'
'• Remembering what helps her and what doesn\'t\n'
'• Anticipating her needs before she has to ask\n'
'• Never using her vulnerabilities against her',
),
LearnSection(
heading: 'Daily Application',
content:
'Each morning, ask yourself: "How can I love her like Christ today?"\n\n'
'Each evening, reflect: "Did I sacrifice my preferences for her good today?"',
),
],
),
LearnArticle(
id: 'servant_leadership',
title: 'Servant Leadership at Home',
subtitle: 'What it really means',
category: 'Biblical Manhood',
sections: [
LearnSection(
content:
'"For even the Son of Man came not to be served but to serve, and to give '
'his life as a ransom for many." — Mark 10:45\n\n'
'Biblical leadership isn\'t about authority and control—it\'s about service and sacrifice.',
),
LearnSection(
heading: 'Leadership = Responsibility, Not Power',
content:
'Being the head of your home means you are responsible for:\n\n'
'• Your wife\'s spiritual well-being\n'
'• The emotional atmosphere of your home\n'
'• Initiating prayer and spiritual conversations\n'
'• Taking the first step in reconciliation after conflict\n'
'• Setting the example of humility and servanthood',
),
LearnSection(
heading: 'A Servant Leader Listens',
content:
'Great leaders listen more than they speak. When your wife is struggling:\n\n'
'• Put down your phone and give full attention\n'
'• Ask questions to understand, not to fix\n'
'• Validate her feelings before offering solutions\n'
'• Remember what she shares and follow up later',
),
LearnSection(
heading: 'A Servant Leader Protects',
content: 'You protect your wife by:\n\n'
'• Shielding her from unnecessary criticism (including from family)\n'
'• Not overloading her with expectations when she\'s struggling\n'
'• Creating a safe space for her to be vulnerable\n'
'• Standing between her and stress when you can',
),
LearnSection(
heading: 'A Servant Leader Gets His Hands Dirty',
content:
'Jesus washed feet—the work of the lowest servant. For you, this means:\n\n'
'• Doing dishes, laundry, and cleaning without being asked\n'
'• Getting up with sick children at night\n'
'• Taking on tasks she normally does when she\'s unwell\n'
'• Never considering any task "beneath you"',
),
LearnSection(
heading: 'During Her Cycle',
content: 'Servant leadership shines during difficult days:\n\n'
'• Take over dinner without complaining\n'
'• Give her permission to rest without guilt\n'
'• Handle the kids so she can have quiet time\n'
'• Be proactive about what needs to be done',
),
],
),
LearnArticle(
id: 'praying_for_wife',
title: 'Praying for Your Wife',
subtitle: 'Practical guide',
category: 'Biblical Manhood',
sections: [
LearnSection(
content:
'Prayer is the most powerful thing you can do for your wife. It changes '
'her, changes you, and invites God\'s presence into your marriage.',
),
LearnSection(
heading: 'Pray for Her Physical Well-being',
content: 'Especially during her period or difficult days:\n\n'
'"Lord, ease her pain and give her body rest. Help her cycle be regular '
'and her symptoms manageable. Give her strength for each day."',
),
LearnSection(
heading: 'Pray for Her Emotions',
content: 'When hormones make everything feel harder:\n\n'
'"Father, stabilize her emotions and give her peace. When anxiety rises, '
'remind her of Your presence. When sadness comes, comfort her spirit."',
),
LearnSection(
heading: 'Pray for Her Spirit',
content: 'For her walk with God:\n\n'
'"Lord, draw her close to You. Give her hunger for Your Word. Fill her '
'with Your Spirit and help her bear fruit in every season."',
),
LearnSection(
heading: 'Pray for Your Marriage',
content: 'For unity and connection:\n\n'
'"God, help us to be unified in heart and purpose. Give us patience with each other. '
'Deepen our intimacy—emotionally, spiritually, and physically. Help me love '
'her as Christ loves the church."',
),
LearnSection(
heading: 'Pray for Yourself',
content: 'To be the husband she needs:\n\n'
'"Lord, make me a better husband. Give me patience when I\'m frustrated. '
'Help me see her needs and meet them with joy. Transform my selfishness '
'into servant-hearted love."',
),
LearnSection(
heading: 'Practical Tips',
content: '• Pray for her daily, even briefly\n'
'• Pray with her when you can (hold hands and pray together)\n'
'• Ask her how you can pray for her specifically\n'
'• Pray during her difficult days with extra intention\n'
'• Write out prayers and save them\n'
'• Use the "Pray for [Her Name]" feature in this app',
),
],
),
// ========== NFP FOR HUSBANDS ==========
LearnArticle(
id: 'reading_charts',
title: 'Reading the Charts Together',
subtitle: 'Understanding fertility signs',
category: 'NFP for Husbands',
sections: [
LearnSection(
content:
'Natural Family Planning (NFP) isn\'t just your wife\'s responsibility—it\'s '
'a shared journey. Learning to understand her fertility signs brings you closer '
'together and honors the gift of her body.',
),
LearnSection(
heading: 'The Main Fertility Signs',
content:
'**Cervical Mucus**: As ovulation approaches, mucus changes from dry to '
'wet, slippery, and stretchy (like egg whites). This indicates peak fertility.\n\n'
'**Basal Body Temperature**: Temperature rises 0.5-1°F after ovulation and stays '
'elevated until the next period. A sustained rise confirms ovulation occurred.\n\n'
'**Cervical Position**: The cervix softens and opens around ovulation. Your wife '
'may track this for additional confirmation.',
),
LearnSection(
heading: 'Understanding the Chart',
content: 'Most NFP charts show:\n\n'
'• Daily temperature readings\n'
'• Mucus observations (symbols like circles, lines, or colors)\n'
'• Cycle day numbers\n'
'• Phase of the cycle\n'
'• Fertile window (usually shaded or highlighted)',
),
LearnSection(
heading: 'Why It Matters for Husbands',
content: 'When you understand the chart:\n\n'
'• You can participate in family planning decisions together\n'
'• You recognize when sacrifice (abstinence) is needed\n'
'• You appreciate what her body goes through each month\n'
'• You can anticipate her emotional and physical changes\n'
'• Intimacy decisions become a shared discernment, not a conflict',
),
LearnSection(
heading: 'How to Support',
content: '• Ask her to explain the chart to you\n'
'• Check in on what phase she\'s in\n'
'• Don\'t make her feel like she has to track alone\n'
'• Thank her for the effort she puts into charting\n'
'• Use this app to follow along with her cycle',
),
LearnSection(
heading: 'Scripture',
content:
'"Two are better than one, because they have a good reward for their toil. '
'For if they fall, one will lift up his fellow." — Ecclesiastes 4:9-10',
),
],
),
LearnArticle(
id: 'abstinence_discipline',
title: 'Abstinence as Spiritual Discipline',
subtitle: 'Growing together during fertile days',
category: 'NFP for Husbands',
sections: [
LearnSection(
content:
'For couples practicing NFP to avoid pregnancy, abstaining during the '
'fertile window can be challenging. But this sacrifice can become a profound '
'spiritual discipline that strengthens your marriage.',
),
LearnSection(
heading: 'The Challenge is Real',
content:
'Let\'s be honest: abstinence during fertile days is difficult.\n\n'
'• Her desire may peak during ovulation (biology is ironic that way)\n'
'• It requires self-control and communication\n'
'• It can feel like a sacrifice without immediate reward\n\n'
'This is not meant to be easy. But difficult things often bring the greatest growth.',
),
LearnSection(
heading: 'Reframing Abstinence',
content:
'Instead of seeing fertile days as deprivation, see them as:\n\n'
'• **An opportunity for self-control**: "Like a city whose walls are broken through '
'is a person who lacks self-control." (Proverbs 25:28)\n\n'
'• **A chance to serve your wife**: Respecting her body and your shared decision\n\n'
'• **A time to deepen non-physical intimacy**: Emotional connection, conversation, prayer\n\n'
'• **A reminder that sex is a gift, not a right**: Gratitude increases appreciation',
),
LearnSection(
heading: 'Ways to Stay Connected',
content:
'During fertile days, intentionally build closeness through:\n\n'
'• Quality conversation (deeper than logistics)\n'
'• Physical affection without intercourse\n'
'• Date nights focused on connection\n'
'• Praying together\n'
'• Acts of service for each other\n'
'• Planning future intimacy (anticipation can be sweet)',
),
LearnSection(
heading: 'The Payoff',
content: 'Couples who practice periodic abstinence often report:\n\n'
'• Increased appreciation for each other\n'
'• Deeper emotional intimacy\n'
'• Better communication about desires and needs\n'
'• A sense of shared sacrifice and teamwork\n'
'• Renewal and excitement when intimacy resumes',
),
LearnSection(
heading: 'A Prayer for Difficult Days',
content:
'"Lord, this is hard. Help me to love her well even when I\'m frustrated. '
'Give me self-control and help me see this sacrifice as an offering to You. '
'Deepen our connection in other ways during this time. Amen."',
),
],
),
// ========== WIFE EDUCATION ==========
LearnArticle(
id: 'wife_cycle_phases',
title: 'The 4 Phases of Your Cycle',
subtitle: 'Understanding what\'s happening in your body',
category: 'Understanding My Cycle',
sections: [
LearnSection(
content:
'Your menstrual cycle is more than just your period. It\'s a continuous '
'rhythm of hormones that affects your energy, mood, and body. Understanding '
'these four phases empowers you to work with your body, rather than against it.',
),
LearnSection(
heading: '1. Menstrual Phase (Days 1-5)',
content:
'The start of your cycle. Progesterone plunges, causing the uterine lining '
'to shed. Energy typically dips.\n\n'
'💡 Tips: Prioritize rest. Warm foods and gentle movement (like walking or stretching) '
'can help with cramping. Don\'t push yourself to be highly productive if you don\'t feel up to it.',
),
LearnSection(
heading: '2. Follicular Phase (Days 6-12)',
content:
'Estrogen rises as your body prepares an egg. You likely feel a boost in energy, '
'creativity, and social desire. Your skin may clear up and you feel more optimistic.\n\n'
'💡 Tips: This is a great time to start new projects, exercise harder, and schedule '
'social gatherings.',
),
LearnSection(
heading: '3. Ovulation Phase (Days 13-15)',
content:
'Peak fertility. Estrogen is high, and you may feel your most confident and vibrant. '
'Libido often increases. You are magnetic!\n\n'
'💡 Tips: Schedule date nights or important conversations. You are likely more '
'articulate and persuasive now.',
),
LearnSection(
heading: '4. Luteal Phase (Days 16-28)',
content:
'Progesterone acts as a "braking" hormone. Energy winds down. You may turn inward '
'and feel more reflective. PMS symptoms may appear near the end.\n\n'
'💡 Tips: Be gentle with yourself. Focus on completing tasks rather than starting new ones. '
'Organize your space and prepare for the rest phase coming next.',
),
],
),
LearnArticle(
id: 'wife_mood_changes',
title: 'Mood & Hormones',
subtitle: 'Why I feel different each week',
category: 'Understanding My Cycle',
sections: [
LearnSection(
content:
'It is not "all in your head." Hormones like estrogen and progesterone '
'directly impact brain chemistry and neurotransmitters like serotonin. '
'Fluctuating emotions are a biological reality.',
),
LearnSection(
heading: 'Estrogen: The Uplifter',
content:
'When estrogen is high (Follicular/Ovulation), it boosts serotonin and dopamine. '
'You feel resilient, happy, and outgoing.',
),
LearnSection(
heading: 'Progesterone: The Sedative',
content:
'Rising in the Luteal phase, progesterone has a calming effect but can also '
'lead to feelings of sadness or sluggishness if levels aren\'t balanced.',
),
LearnSection(
heading: 'The Drop',
content:
'Just before your period, both hormones drop. This withdrawal can cause '
'irritability, anxiety, and tearfulness (PMS). It is temporary!\n\n'
'Scripture: "I praise you, for I am fearfully and wonderfully made." — Psalm 139:14',
),
],
),
LearnArticle(
id: 'wife_disease_prevention',
title: 'Preventing Infections',
subtitle: 'Hygiene and reproductive health',
category: 'Disease Prevention',
sections: [
LearnSection(
content:
'Maintaining reproductive health involves regular hygiene and awareness '
'of your body\'s natural defenses.',
),
LearnSection(
heading: 'Hygiene Basics',
content:
'• **Wiping**: Always wipe from front to back to prevent bacteria from '
'entering the urethra or vagina.\n'
'• **Cleaning**: Use warm water. Avoid harsh soaps, douches, or scented products '
'internally, as they disrupt the natural pH balance and can lead to yeast infections or BV.\n'
'• **Underwear**: Cotton is breathable and reduces moisture buildup, preventing fungal growth.',
),
LearnSection(
heading: 'UTI Prevention',
content:
'Urinary Tract Infections (UTIs) are common but preventable:\n'
'• Hydrate well to flush out bacteria.\n'
'• Urinate after intercourse to clear the urethra.\n'
'• Don\'t hold urine for long periods.',
),
LearnSection(
heading: 'STI Prevention',
content:
'Sexually Transmitted Infections can affect anyone. If you or your partner '
'have a history of STIs, open communication and testing are crucial.\n\n'
'Monogamy within marriage provides the safest environment for sexual health.',
),
],
),
LearnArticle(
id: 'wife_screenings',
title: 'Regular Screenings',
subtitle: 'What to check and when',
category: 'Disease Prevention',
sections: [
LearnSection(
content:
'Regular medical check-ups are vital for catching issues early when they '
'are most treatable.',
),
LearnSection(
heading: 'Pap Smears & HPV Testing',
content:
'• **What**: Checks for cervical cancer and HPV (the virus that causes it).\n'
'• **When**: Typically every 3-5 years for women aged 21-65, depending on your doctor\'s advice.',
),
LearnSection(
heading: 'Breast Self-Exams',
content:
'• **What**: Feeling for lumps or changes in breast tissue.\n'
'• **When**: Once a month, ideally a few days after your period ends when '
'breasts are least tender.',
),
LearnSection(
heading: 'Annual Well-Woman Exam',
content:
'Even if you don\'t need a Pap smear locally, an annual visit allows you to discuss '
'period pain, fertility, contraception, and overall wellness with your provider.',
),
],
),
LearnArticle(
id: 'wife_partnership_tips',
title: 'Communication',
subtitle: 'Talking to him about my health',
category: 'Partnership',
sections: [
LearnSection(
content:
'Your husband likely wants to support you but may not know how. '
'Clear communication bridges that gap.',
),
LearnSection(
heading: 'Be Specific',
content: 'Instead of hoping he notices you\'re tired, try saying:\n'
'"I\'m in my luteal phase and feeling really drained. Could you handle '
'dinner tonight so I can rest?"',
),
LearnSection(
heading: 'Share Your Cycle',
content:
' Invite him into the process. Let him know when your period starts '
'or when you are ovulating. This helps him understand your changing needs '
'and moods.',
),
],
),
LearnArticle(
id: 'wife_shared_responsibility',
title: 'Shared Responsibility',
subtitle: 'Navigating fertility together',
category: 'Partnership',
sections: [
LearnSection(
content:
'Fertility is a shared reality, not just "the woman\'s job." '
'Whether trying to conceive or avoiding pregnancy, walk this path together.',
),
LearnSection(
heading: 'NFP / FAM',
content:
'If practicing Natural Family Planning, involve him in chart reading. '
'Discuss the fertile window together. It builds intimacy and trust.',
),
LearnSection(
heading: 'Mutual Care',
content:
'Scripture calls husbands to love their wives as their own bodies. '
'Allow him to care for you, and seek to understand his perspective as well.',
),
],
),
];
/// Get an article by ID
static LearnArticle? getArticle(String id) {
try {
return articles.firstWhere((a) => a.id == id);
} catch (_) {
return null;
}
}
}