WeatherForecast class

Inheritance

Constructors

WeatherForecast({Key? key, required String stationNo, double keyFontSize = 13.0, double valueFontSize = 13.0, double statusFontSize = 14.0, double weatherFontSize = 26.0, double timeFontSize = 13.0, double refreshIconSize = 20.0, double imageScale = .8, Color borderColor = const Color(0XFFACAEBA), Color keyColor = const Color(0XFFACAEBA), Color valueColor = Colors.black, Color statusColor = Colors.black, Color weatherColor = Colors.black, Color refreshColor = Colors.black, Color timeColor = const Color(0XFFACAEBA), Color backgroundColor = Colors.white, double verticalPadding = 8.0, ColorFilter? colorFilter, double horizontalPadding = 8.0, double? containerHeight, dynamic image, BoxFit boxFit = BoxFit.cover})

Properties

backgroundColor Color
Color of selected dot. Default is Colors.white
final
borderColor Color
Color of selected dot. Default is Color(0XFFACAEBA)
final
boxFit BoxFit
BoxFit of image. Default is BoxFit.fill
final
colorFilter ColorFilter?
ColorFilter of image. Default is null
getter/setter pair
containerHeight double?
Height of container. Default ScreenHeight * .15
final
hashCode int
The hash code for this object.
no setterinherited
horizontalPadding double
Horizontal Padding . Default 8
final
image ↔ dynamic
getter/setter pair
imageScale double
Scale of Image. Default .8
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyColor Color
Color of selected dot. Default is Color(0XFFACAEBA)
final
keyFontSize double
Font size of Min,Max.. keys. Default is 13
final
refreshColor Color
Color of selected dot. Default is Colors.black
final
refreshIconSize double
Size of Refresh Icon.Default is 20
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stationNo String
City code. Default is 06
final
statusColor Color
Color of selected dot. Default is Colors.black
final
statusFontSize double
Font size of status. Default is 16
final
timeColor Color
Color of selected dot. Default is Color(0XFFACAEBA)
final
timeFontSize double
Font size of time.Default is 13
final
valueColor Color
Color of selected dot. Default is Colors.black
final
valueFontSize double
Font size of temp,humidity .. values. Default is 11
final
verticalPadding double
Vertical Padding . Default 8
final
weatherColor Color
Color of selected dot. Default is Colors.black
final
weatherFontSize double
Font size of status.Default is 26
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<WeatherForecast>
Creates the mutable state for this widget at a given location in the tree.
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