CowDetailScreenVM class Null safety ViewModels
개체상세 스크린 뷰모델
Constructors
- CowDetailScreenVM({required VoidCallback? forceRender})
Properties
-
barItemsDay
↔ List<
BarDataDay> ? -
read / write
- birth → String
-
read-only
- cow ↔ Cow
-
read / write
-
cowData
↔ List<
CowData> ? -
read / write
- currentEndAt ↔ DateTime
-
read / write
- currentStartAt ↔ DateTime
-
read / write
- forceRender ↔ VoidCallback?
-
read / write
- gender → String
-
read-only
- group → String
-
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hideGraph ↔ bool
-
read / write
- isLoading ↔ bool
-
read / write
- memo → String
-
read-only
- prevSelectedGraphViewType ↔ GraphViewType?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selectedAction ↔ ActionType
-
read / write
- selectedDateTime ↔ DateTime
-
read / write
- selectedGraphAvgType ↔ GraphAvgType
-
read / write
- selectedGraphViewType ↔ GraphViewType
-
read / write
- title → String
-
read-only
- todayCowData ↔ CowDataDay?
-
read / write
-
todayValues
↔ List<
double?> -
read / write
- weight → String
-
read-only
- yesterdayCowData ↔ CowDataDay?
-
read / write
-
yesterdayValues
↔ List<
double?> -
read / write
Methods
-
fetchAll(
) → void - 모든 데이터 가져오기
-
fetchGraphData(
) → Future< List< BarDataDay> ?> - 그래프에 그릴 데이터를 가져오기
-
fetchTodayYesterdayData(
) → void - 어제 대비 오늘 날짜 데이
-
init(
) → void -
loadMoreGraphData(
{required String action}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
onPressCalendar(
BuildContext context) → dynamic - 달력을 눌렀을때
-
onPressNextDate(
) → dynamic - 다음날을 눌렀을때
-
onPressPrevDate(
) → dynamic - 이전날을 눌렀을때
-
release(
) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited