AgendaStyle class
Constructors
- AgendaStyle({int startHour = 0, int endHour = 24, TextDirection direction = TextDirection.ltr, bool cornerBottom = true, bool cornerRight = true, Color pillarColor = Colors.white, Color cornerColor = Colors.white, Color timelineColor = Colors.white, Color timelineItemColor = Colors.white, bool headSeperator = false, bool pillarSeperator = false, Color mainBackgroundColor = Colors.white, Color decorationLineBorderColor = const Color(0xFFCECECE), bool headBottomBorder = true, bool fittedWidth = true, Color timelineBorderColor = const Color(0xFF7F7F7F), Color timeItemTextColor = const Color(0xFF7B7B7B), double eventRadius = 5, TextStyle timeItemTextStyle = const TextStyle(color: Color(0xFFF999999), fontSize: 11, fontWeight: FontWeight.w300), double pillarWidth = 200, double headerHeight = 50, TimeSlot timeSlot = TimeSlot.half, HeaderLogo headerLogo = HeaderLogo.circle, double timeItemWidth = 70, double decorationLineHeight = 20, double decorationLineDashWidth = 4, double decorationLineDashSpaceWidth = 4, double eventBorderWidth = 4, bool visibleTimeBorder = true, bool visibleDecorationBorder = true})
-
Customize the agenda to match you own UI approach.
by defaut the styles are great but you can change them.
const
Properties
- cornerBottom → bool
-
the is corner bottom border is active
final
- cornerColor → Color
-
the top left corner color
final
- cornerRight → bool
-
the is corner right border is active
final
- decorationLineBorderColor → Color
-
final
- decorationLineDashSpaceWidth → double
-
decoration line dash space width
final
- decorationLineDashWidth → double
-
decoration line dash width
final
- decorationLineHeight → double
-
decoration line height
final
- direction → TextDirection
-
final
- endHour → int
-
Timeline end hour.
final
- eventBorderWidth → double
-
event left border width
final
- eventRadius → double
-
event border Radius
final
- fittedWidth → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headBottomBorder → bool
-
head bottom border
final
- headerHeight → double
-
final
- headerLogo → HeaderLogo
-
the style of the header logo
final
- headSeperator → bool
-
final
- mainBackgroundColor → Color
-
main body background color
final
- pillarColor → Color
-
pillar color.
final
- pillarSeperator → bool
-
final
- pillarWidth → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startHour → int
-
Timeline start hour.
final
- timeItemTextColor → Color
-
the time item
hour
text colorfinal - timeItemTextStyle → TextStyle
-
time item text style
final
- timeItemWidth → double
-
the time item width
final
- timelineBorderColor → Color
-
the time line border color
final
- timelineColor → Color
-
the time line color
final
- timelineItemColor → Color
-
the time line item color
final
- timeSlot → TimeSlot
-
this timeSlot is so important.
final
- visibleDecorationBorder → bool
-
visible decoration border
final
- visibleTimeBorder → bool
-
visible time border
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