Configuration class
Constructors
- Configuration({required Size size, required double pixelRatio, required Orientation orientation, required String languageCode, required String? countryCode, required Brightness brightness, required PlatformType platform, required TextDirection direction})
- Configuration.of(BuildContext context)
-
factory
Properties
- brightness → Brightness
-
final
- countryCode → String?
-
final
- direction → TextDirection
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- languageCode → String
-
final
- orientation → Orientation
-
final
- pixelRatio → double
-
final
- platform → PlatformType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override