NotiListViewTile class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- NotiListViewTile
Constructors
- NotiListViewTile({Key? key, String? title, required String content, double height = 102.0, double radius = 10.0, double elevation = 5, Color shadowColor = const Color(0x2b333333), double divideMargin = 10.0, double sidePadding = 15.0, double topBottomPadding = 19.0, double tileMinHeight = 100, double imageMaxWidth = 150, double imageMaxHeight = 150, double space = 12.0, NotiTileType notiTileType = NotiTileType.normal, Color imageBackgroundColor = const Color(0xffd9d9d9), double imageRatio = 1 / 1, String? imageAssets, TextStyle? titleStyle, TextStyle? contentStyle, bool isNew = false, VoidCallback? onTapDelete})
-
const
Properties
- content → String
-
This value is content of tile.
final
- contentStyle → TextStyle?
-
This is the content style value for custom content style.
final
- divideMargin → double
-
This value is the distance away from the tile above.
final
- elevation → double
-
This is the elevation value of the tile.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
This is the height value of the tile.
final
- imageAssets → String?
-
This is the assets address of the image.
final
- imageBackgroundColor → Color
-
This is the color value of the image's background color .
final
- imageMaxHeight → double
-
This is the max height value of the tile image.
final
- imageMaxWidth → double
-
This is the max width value of the tile image.
final
- imageRatio → double
-
This is the ratio value of the image.
final
- isNew → bool
-
If this value is true, a badge is created in the upper left corner.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- notiTileType → NotiTileType
-
This is the type value of the card.
final
- onTapDelete → VoidCallback?
-
If this value is null, the button disappears from the tile.
final
- radius → double
-
This is the radius value of the tile.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color
-
This is the color value of the tile shadow.
final
- sidePadding → double
-
This is the padding value of the inner side padding.
final
- space → double
-
This is the space value between image and info.
final
- tileMinHeight → double
-
This is the min height value of the tile.
final
- title → String?
-
This value is title of tile.
final
- titleStyle → TextStyle?
-
This is the text style value for custom title style.
final
- topBottomPadding → double
-
This is the elevation value of the inner top, bottom tile.
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited