SystemInfo class

System inset and platform information returned by the plugin.

The SystemInfo object is returned by EdgeToEdgeSystemUIKotlin.getSystemInfo and provides a structured snapshot of the platform state relevant to edge-to-edge UI handling. Fields are expressed in logical pixels (dp) where appropriate to match Flutter's conventions.

Constructors

SystemInfo({required bool isEdgeToEdgeEnabled, required bool isEdgeToEdgeSupported, int? androidVersion, String? androidRelease, required int systemBarsTop, required int systemBarsBottom, required int systemBarsLeft, required int systemBarsRight, required int statusBarsHeight, required int navigationBarsHeight, required bool hasNavigationBar})
const
SystemInfo.fromMap(Map<String, dynamic> m)
Construct from a dynamic map returned by the platform plugin.
factory

Properties

androidRelease String?
Android release string when available (e.g. '13').
final
androidVersion int?
Android API level (e.g. 33) when available.
final
hashCode int
The hash code for this object.
no setterinherited
hasNavigationBar bool
Whether the device configuration exposes a navigation bar.
final
isEdgeToEdgeEnabled bool
Whether edge-to-edge mode is currently enabled on the device.
final
isEdgeToEdgeSupported bool
Whether the device supports edge-to-edge mode.
final
Logical pixels (dp) of the navigation bar height.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusBarsHeight int
Logical pixels (dp) of the status bar height.
final
systemBarsBottom int
Logical pixels (dp) for the bottom system inset.
final
systemBarsLeft int
Logical pixels (dp) for the left system inset.
final
systemBarsRight int
Logical pixels (dp) for the right system inset.
final
systemBarsTop int
Logical pixels (dp) for the top system inset.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert back to a map (useful for tests/examples).
toString() String
A string representation of this object.
inherited

Operators

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