2024-01-24 14:37:59 +01:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_introduction/flutter_introduction.dart';
|
|
|
|
|
|
|
|
@immutable
|
|
|
|
class StartUserStoryConfiguration {
|
|
|
|
const StartUserStoryConfiguration({
|
|
|
|
this.splashScreenBuilder,
|
|
|
|
this.introductionOptions = const IntroductionOptions(),
|
|
|
|
this.introductionService,
|
|
|
|
this.homeEntry,
|
|
|
|
this.introductionFallbackScreen,
|
|
|
|
this.introductionScrollPhysics,
|
|
|
|
this.showIntroduction = true,
|
2024-01-24 16:56:53 +01:00
|
|
|
this.useKillswitch = false,
|
2024-01-24 14:37:59 +01:00
|
|
|
});
|
|
|
|
final Widget Function(
|
|
|
|
BuildContext context,
|
|
|
|
Function() onFinish,
|
|
|
|
)? splashScreenBuilder;
|
|
|
|
|
|
|
|
final Widget? homeEntry;
|
|
|
|
|
|
|
|
final IntroductionOptions introductionOptions;
|
|
|
|
final Widget? introductionFallbackScreen;
|
|
|
|
final IntroductionService? introductionService;
|
|
|
|
final ScrollPhysics? introductionScrollPhysics;
|
|
|
|
final bool? showIntroduction;
|
2024-01-24 16:56:53 +01:00
|
|
|
final bool? useKillswitch;
|
2024-01-24 14:37:59 +01:00
|
|
|
}
|