dart_board_splash 1.0.18 copy "dart_board_splash: ^1.0.18" to clipboard
dart_board_splash: ^1.0.18 copied to clipboard

Helps you easily provide a splash screen to your application.

dart_board_splash #

Splash Screen Module for Dart-Board

Getting Started #

Include your feature

DartBoardSplashFeature(this.splashWidget)

splashWidget should be a widget that dispatches.

hideSplashScreen e.g.

DartBoardCore.instance.dispatchMethodCall(
    context: context, call: MethodCall("hideSplashScreen"));

There is a built in one to show content and then fade it out.

class FadeOutSplashScreen extends StatefulWidget {
  final Duration delay;
  final Duration fadeDuration;
  final WidgetBuilder contentBuilder;

delay = The time the Splash is shown for fadeDuration = The time the fade occurs for contentBuilder = What you want to show. E.g. a white screen with logo, some ducks crossing the screen, whatever. Any widget really, interactive or not.

0
likes
120
pub points
0%
popularity

Publisher

verified publisherdart-board.io

Helps you easily provide a splash screen to your application.

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dart_board_core, dart_board_locator, dart_board_widgets, flutter

More

Packages that depend on dart_board_splash