mirror of
https://github.com/Iconica-Development/flutter_introduction.git
synced 2025-05-19 03:53:45 +02:00
33 lines
851 B
Dart
33 lines
851 B
Dart
|
// SPDX-FileCopyrightText: 2023 Iconica
|
||
|
//
|
||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
@immutable
|
||
|
class IntroductionPageData {
|
||
|
const IntroductionPageData({
|
||
|
required this.title,
|
||
|
required this.content,
|
||
|
this.contentImage,
|
||
|
this.backgroundImage,
|
||
|
this.backgroundColor,
|
||
|
});
|
||
|
|
||
|
/// The title of the introduction page in different languages
|
||
|
final Map<String, String> title;
|
||
|
|
||
|
/// The content of the introduction page in different languages
|
||
|
final Map<String, String> content;
|
||
|
|
||
|
/// The imageUrl of the graphic on the introduction page
|
||
|
final String? contentImage;
|
||
|
|
||
|
/// The imageUrl of the background image of the introduction page
|
||
|
final String? backgroundImage;
|
||
|
|
||
|
/// Optional background color of the introduction page
|
||
|
/// (defaults to transparent)
|
||
|
final Color? backgroundColor;
|
||
|
}
|