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, String? subtitle, TextStyle? subtitleTextStyle, TextAlign? subtitleTextAlign, required Widget 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 String?
subtitle optional slide subtile
final
subtitleTextAlign TextAlign?
subtitleTextAlign optional subtitle TextAlign, if set it override the top-level subtitle textAlign
final
subtitleTextStyle TextStyle?
subtitle optional subtitle TextStyle, if set it override the top-level subtitle textStyle
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