You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
578 B
27 lines
578 B
1 year ago
|
/*
|
||
|
* Copyright (c) 2023. Open Mobile Platform LLC.
|
||
|
* License: Proprietary.
|
||
|
*/
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter_example_packages/base/package/package.dart';
|
||
|
|
||
|
class PackagePage extends Package {
|
||
|
PackagePage({
|
||
|
required super.key,
|
||
|
required super.descEN,
|
||
|
required super.descRU,
|
||
|
required super.version,
|
||
|
required super.isPlatformDependent,
|
||
|
required this.page,
|
||
|
required this.init,
|
||
|
}) {
|
||
|
init.call();
|
||
|
}
|
||
|
|
||
|
/// Package preview page
|
||
|
final Widget Function() page;
|
||
|
|
||
|
/// Init callback
|
||
|
final void Function() init;
|
||
|
}
|