SfsInitBuilder class

Inheritance

Constructors

SfsInitBuilder({Key? key, required SfsBuilder builder, Widget? child, RebuildFactor rebuildFactor = RebuildFactors.size, Size mobileSize = const Size(350, 650), Size tabletSize = const Size(490, 890), Size desktopSize = const Size(1420, 820), bool scaleByHeight = false, Range? fontSizeRange, Map<String, Range>? multiFontSizeRange, Size? screenMinSize, Size? screenMaxSize, DivideRange? divideRange})
const

Properties

builder SfsBuilder
final
child Widget?
final
desktopSize Size
Define your fix desktopSize, this size of device take your exact font size from code.
final
divideRange DivideRange?
When you create an app for Mobile, Tablet, and Desktop for a better responsive app, you need to define this percentUse for the range of font size, get from your custom font size range by percentage. m: Mobile - (Range min: 0%, max: 60%) t: Tablet - (Range min: 5%, max: 80%) d: Desktop - (Range min: 15%, max: 100%)
final
fontSizeRange Range?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mobileSize Size
Define your fix mobileSize, this size of device take your exact font size from code.
final
multiFontSizeRange Map<String, Range>?
Create your custom different font size key, where pass data in map multiFontSizeRange required key and Range of your text size.
final
rebuildFactor RebuildFactor
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleByHeight bool
final
screenMaxSize Size?
final
screenMinSize Size?
final
tabletSize Size
Define your fix tabletSize, this size of device take your exact font size from code.
final

Methods

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