DView class

Widget for helping response and utility in Flutter

Constructors

DView()

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 Properties

defaultSpace double
default size for space
16.0\
getter/setter pair

Static Methods

appBarCenter(String title) PreferredSizeWidget
SimpleAppBar with center title
appBarLeft(String title) PreferredSizeWidget
SimpleAppBar with left title
empty([String data = "There's no data"]) Widget
response for empty data
error({String data = 'Something went wrong', TextStyle? style}) Widget
response for error
height([double? size]) Widget
space like sizedbox for height,
default: DView.defaultSpace
loadingBar() Widget
response for loading linear, default align t center
loadingCircle() Widget
response for loading circle, default align t center
nothing() Widget
response for nothing widget usually used for checking like visibility off
spaceHeight([double size = 16]) Widget
space like sizedbox for height, default 16
spaceWidth([double size = 16]) Widget
space like sizedbox for width, default 16
textAction(void onTap(), {String text = 'See All', TextStyle? customStyle, double size = 16, FontWeight weight = FontWeight.bold, Color color = Colors.black, IconData? iconRight, Color iconRightColor = Colors.black, double? iconRightSize, Widget? customIconRight}) Widget
text for action
textTitle(String text, {double? size, Color? color, FontWeight? weight}) Widget
text for title content
width([double? size]) Widget
space like sizedbox for width,
default: DView.defaultSpace