KResponsive class
KResponsive use to responsive
Constructors
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
-
responsive<
T> ({BuildContext? context, T? tablet, T? web, T? phoneLarge, T? phoneMedium, T? phoneSmall, T? watch}) → T? -
responsive responsive dynamic value and required a BuildContext
tablet
value for tablet deviceweb
value for web devicephoneLarge
value for phone size large than 480 and smaller than or equal 720phoneMedium
value for phone size smaller than or equal 480 and large than 320phoneSmall
value for phone size smaller than 320watch
value for watch device -
responsivePhoneLarge<
T> ({T? defaultValue, T? phoneLarge}) → T -
responsivePhoneLarge responsive dynamic value and required a BuildContext
phoneLarge
value for tablet devicedefaultValue
value default for something else -
responsivePhoneMedium<
T> ({BuildContext? context, T? defaultValue, T? phoneMedium}) → T -
responsivePhoneMedium responsive dynamic value and required a BuildContext
phoneMedium
value for tablet devicedefaultValue
value default for something else -
responsivePhoneSmall<
T> ({T? defaultValue, T? phoneSmall}) → T -
responsivePhoneSmall responsive dynamic value and required a BuildContext
phoneSmall
value for tablet devicedefaultValue
value default for something else -
responsiveTablet<
T> ({T? defaultValue, T? tablet}) → T -
responsiveTablet responsive dynamic value and required a BuildContext
tablet
value for tablet devicedefaultValue
value default for something else -
responsiveWatch<
T> ({T? defaultValue, T? watch}) → T -
responsiveWatch responsive dynamic value and required a BuildContext
watch
value for tablet devicedefaultValue
value default for something else -
responsiveWeb<
T> ({T? defaultValue, T? web}) → T -
responsiveWeb responsive dynamic value and required a BuildContext
web
value for tablet devicedefaultValue
value default for something else -
widgetBuilder(
{Widget? tablet, Widget? web, Widget? phoneLarge, Widget? phoneMedium, Widget? phoneSmall, Widget? watch}) → Widget -
widgetBuilder responsive Widget and don't required BuildContext
tablet
widget for tablet deviceweb
widget for web devicephoneLarge
widget for phone size large than 480 and smaller than or equal 720phoneMedium
widget for phone size smaller than or equal 480 and large than 320phoneSmall
widget for phone size smaller than 320watch
widget for watch device