ThemeUtils class

Constructors

ThemeUtils.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Static Methods

buildResponsiveGridView(dynamic context, {required List<Widget> children, int count = 3, int? mobileCount = 1, int? tabletCount = 2, int? desktopCount, double? aspectRatio, Axis scrollDirection = Axis.vertical, String type = "count"}) → dynamic
calculateContentSize(Widget widget) Size
isDesktop(double width) → dynamic
isMobile(double width) → dynamic
isTablet(double width) → dynamic
responsive(double width, {required double mobile, required double tablet, required double desktop, required double fallback}) double

Constants

desktopWidth → const int
mobileWidth → const int
tabletWidth → const int