MenstrualCyclePhaseView class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- MenstrualCyclePhaseView
Constructors
- MenstrualCyclePhaseView.new({Key? key, int totalCycleDays = defaultCycleLength, required double size, int selectedDay = 0, Function? onDayClick, String? menstruationName, int menstruationDayCount = defaultPeriodDuration, Color menstruationColor = defaultMenstruationColor, Color menstruationBackgroundColor = defaultMenstruationColorBg, Color menstruationDayTextColor = Colors.white, Color menstruationTextColor = defaultMenstruationColor, String? follicularPhaseName, int follicularDayCount = defaultFollicularDay, Color follicularPhaseDayTextColor = Colors.white, Color follicularPhaseColor = defaultFollicularColor, Color follicularBackgroundColor = defaultFollicularColorBg, Color follicularTextColor = defaultFollicularColor, String? ovulationName, int ovulationDayCount = defaultOvulationDay, Color ovulationDayTextColor = Colors.white, Color ovulationColor = defaultOvulationColor, Color ovulationBackgroundColor = defaultOvulationColorBg, Color ovulationTextColor = defaultOvulationColor, String? lutealPhaseName, Color lutealPhaseColor = defaultLutealPhaseColor, Color lutealPhaseBackgroundColor = defaultLutealPhaseColorBg, Color lutealPhaseTextColor = defaultBlackColor, Color lutealPhaseDayTextColor = defaultBlackColor, String imageAssets = "", double imgSize = 30, Color centralCircleBackgroundColor = defaultCentralCircleBackgroundColor, double centralCircleSize = 25, String? dayTitle, double dayTitleFontSize = 5, double dayFontSize = 12, double selectedDayCircleSize = 1, Color dayTextColor = defaultBlackColor, Color selectedDayBackgroundColor = Colors.white, double selectedDayFontSize = 12, Color selectedDayTextColor = defaultBlackColor, Color selectedDayCircleBorderColor = Colors.transparent, double phasesTextSize = 8, bool isShowDayTitle = true, FontWeight dayFontWeight = FontWeight.normal, MenstrualCycleTheme theme = MenstrualCycleTheme.arcs, double circleDaySize = 13, PhaseTextBoundaries phaseTextBoundaries = PhaseTextBoundaries.outside, double arcStrokeWidth = 30, double outsidePhasesTextSize = 12, int outsideTextCharSpace = 3, int outsideTextSpaceFromArc = 30, Color centralCircleBorderColor = Colors.transparent, int centralCircleBorderSize = 1, bool isRemoveBackgroundPhaseColor = true, MenstrualCycleViewType viewType = MenstrualCycleViewType.text, String title = "", Color titleTextColor = Colors.black, double titleTextSize = 20, FontWeight titleFontWeight = FontWeight.bold, String message = "", String message2 = "", Color messageTextColor = Colors.black45, double messageTextSize = 10, FontWeight messageFontWeight = FontWeight.normal, int spaceBtnTitleMessage = 5, bool isAutoSetData = false})
-
const
Properties
- arcStrokeWidth → double
-
final
- centralCircleBackgroundColor → Color
-
final
- centralCircleBorderColor → Color
-
final
- centralCircleBorderSize → int
-
final
- centralCircleSize → double
-
final
- circleDaySize → double
-
final
- dayFontSize → double
-
final
- dayFontWeight → FontWeight
-
final
- dayTextColor → Color
-
final
- dayTitle → String?
-
final
- dayTitleFontSize → double
-
final
- follicularBackgroundColor → Color
-
final
- follicularDayCount → int
-
final
- follicularDayCountNew → int
-
final
- follicularPhaseColor → Color
-
final
- follicularPhaseDayTextColor → Color
-
final
- follicularPhaseName → String?
-
final
- follicularTextColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageAssets → String
-
final
- imgSize → double
-
final
- isAutoSetData → bool
-
final
- isRemoveBackgroundPhaseColor → bool
-
final
- isShowDayTitle → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lutealPhaseBackgroundColor → Color
-
final
- lutealPhaseColor → Color
-
final
- lutealPhaseDayTextColor → Color
-
final
- lutealPhaseName → String?
-
final
- lutealPhaseTextColor → Color
-
final
- menstruationBackgroundColor → Color
-
final
- menstruationColor → Color
-
final
- menstruationDayCount → int
-
final
- menstruationDayCountNew → int
-
final
- menstruationDayTextColor → Color
-
final
- menstruationName → String?
-
final
- menstruationTextColor → Color
-
final
- message → String
-
final
- message2 → String
-
final
- messageFontWeight → FontWeight
-
final
- messageTextColor → Color
-
final
- messageTextSize → double
-
final
- onDayClick → Function?
-
final
- outsidePhasesTextSize → double
-
final
- outsideTextCharSpace → int
-
final
- outsideTextSpaceFromArc → int
-
final
- ovulationBackgroundColor → Color
-
final
- ovulationColor → Color
-
final
- ovulationDayCount → int
-
final
- ovulationDayCountNew → int
-
final
- ovulationDayTextColor → Color
-
final
- ovulationName → String?
-
final
- ovulationTextColor → Color
-
final
- phasesTextSize → double
-
final
- phaseTextBoundaries → PhaseTextBoundaries
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDay → int
-
final
- selectedDayBackgroundColor → Color
-
final
- selectedDayCircleBorderColor → Color
-
final
- selectedDayCircleSize → double
-
final
- selectedDayFontSize → double
-
final
- selectedDayTextColor → Color
-
final
- size → double
-
final
- spaceBtnTitleMessage → int
-
final
- theme → MenstrualCycleTheme
-
final
- title → String
-
final
- titleFontWeight → FontWeight
-
final
- titleTextColor → Color
-
final
- titleTextSize → double
-
final
- totalCycleDays → int
-
final
- viewType → MenstrualCycleViewType
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< MenstrualCyclePhaseView> -
Creates the mutable state for this widget at a given location in the tree.
override
-
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