Skip to content

Instantly share code, notes, and snippets.

@reime005
Last active January 20, 2021 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reime005/60247e72636920314967a9811b9c8852 to your computer and use it in GitHub Desktop.
Save reime005/60247e72636920314967a9811b9c8852 to your computer and use it in GitHub Desktop.
flutter-onboarding-experience-1
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