FlutterLoadingScreen class

Loading Screen Widget that updates the screen once all inistializer methods are called

Inheritance

Constructors

FlutterLoadingScreen({Key? key, required Function futureTask, required NextPageParam nextPageParam, Color? loaderColor, String? title, TextStyle? titleStyle, Image? image, Widget? titleWidget, Color? backgroundColor = Colors.white, TextStyle? styleTextUnderTheLoader = const TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold, color: Colors.black), String? loadingMessage})
Constructor for the LoadingScreen widget with all the required initializers
const

Properties

backgroundColor Color?
The background colour which is used as a filler when the image doesn't occupy the full screen
final
futureTask Function
List of methods that are called once the Loading Screen is rendered for the first time. These are the methods that can update the messages that are shown under the loading symbol
final
hashCode int
The hash code for this object.
no setterinherited
image Image?
The image widget that is used as a background cover to the loading screen
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loaderColor Color?
The colour that is used for the loader symbol
final
loadingMessage String?
The message that is displayed on the first load of the widget
final
nextPageParam NextPageParam
The Layout/Scaffold/ Widget || route param option that is loaded once all the initializer methods have been executed
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleTextUnderTheLoader TextStyle?
The styling that is used with the text (messages) that are displayed under the loader symbol
final
title String?
final title string
final
titleStyle TextStyle?
final title style
final
titleWidget Widget?
The name of the application that is shown at the top of the loading screen
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() FlutterLoadingScreenState
Bind the Widget to the custom State object
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited