26 lines
566 B
Dart
26 lines
566 B
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class PageModel {
|
|
Color color;
|
|
String? imageAssetPath;
|
|
String? imageFromUrl;
|
|
String? title;
|
|
String? body;
|
|
Widget? child;
|
|
bool? doAnimateChild;
|
|
bool? doAnimateImage;
|
|
|
|
PageModel(
|
|
{required this.color,
|
|
this.imageAssetPath,
|
|
this.imageFromUrl,
|
|
required this.title,
|
|
required this.body,
|
|
required this.doAnimateImage});
|
|
|
|
PageModel.withChild(
|
|
{required this.child,
|
|
required this.color,
|
|
required this.doAnimateChild});
|
|
}
|