Last active
January 20, 2021 20:38
-
-
Save reime005/60247e72636920314967a9811b9c8852 to your computer and use it in GitHub Desktop.
flutter-onboarding-experience-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ExplanationData { | |
final String title; | |
final String description; | |
final String localImageSrc; | |
final Color backgroundColor; | |
ExplanationData( | |
{this.title, this.description, this.localImageSrc, this.backgroundColor}); | |
} | |
final List<ExplanationData> data = [ | |
ExplanationData( | |
description: | |
"Labore do ex cillum fugiat anim nulla pariatur est. Elit laboris eiusmod ex occaecat do ea officia esse culpa.", | |
title: "A Day at the Park", | |
localImageSrc: "assets/1.svg", | |
backgroundColor: Colors.orange[500]), | |
ExplanationData( | |
description: | |
"Sit ullamco anim deserunt aliquip mollit id. Occaecat labore laboris magna reprehenderit sint in sunt ea.", | |
title: "Playing Fetch", | |
localImageSrc: "assets/2.svg", | |
backgroundColor: Colors.orange[700]), | |
ExplanationData( | |
description: | |
"Eiusmod aliqua laboris duis eiusmod ea ea commodo dolore. Ullamco nulla nostrud et officia.", | |
title: "Relaxing Walk", | |
localImageSrc: "assets/3.svg", | |
backgroundColor: Colors.green[800]), | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment