SliderItem class

A model to represent each Slide item

e.g

SlideItem(title: '', subtitle: '', widget: Image.asset())

Constructors

SliderItem({String? title, TextStyle? titleTextStyle, TextAlign? titleTextAlign, Widget? subtitle, required Widget widget})
subtitle optional subtitle Widget, if set it override the top-level subtitle widget
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle Widget?
subtitle optional slide subtile
final
title String?
title optional slide title
final
titleTextAlign TextAlign?
titleTextAlign optional title TextAlign, if set it override the top-level title textAlign
final
titleTextStyle TextStyle?
titleTextStyle optional title TextStyle, if set it override the /// top-level title textStyle
final
widget Widget
widget the required slide widget
final

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