mirror of
https://github.com/Iconica-Development/flutter_start.git
synced 2025-05-19 10:33:45 +02:00
28 lines
802 B
Dart
28 lines
802 B
Dart
|
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,
|
||
|
});
|
||
|
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;
|
||
|
}
|