v1.0.8
This commit is contained in:
parent
cb90c3d68a
commit
d086fc1f36
@ -1,5 +1,8 @@
|
|||||||
Workout Test and Diet 4 You Common Util Functions
|
Workout Test and Diet 4 You Common Util Functions
|
||||||
|
|
||||||
|
Version 1.0.8
|
||||||
|
mombership model error fix
|
||||||
|
|
||||||
Version 1.0.7
|
Version 1.0.7
|
||||||
openai with model name and temperature
|
openai with model name and temperature
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
|
|
||||||
void _fetchData() async {
|
void _fetchData() async {
|
||||||
var api = OpenAIApi();
|
var api = OpenAIApi();
|
||||||
String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");;
|
String response = await api.getOpenAICompletion("Who wrote the song 'yellow submarine'?");
|
||||||
setState(() {
|
setState(() {
|
||||||
_response = response;
|
_response = response;
|
||||||
});
|
});
|
||||||
@ -51,7 +51,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
_response,
|
_response,
|
||||||
style: Theme.of(context).textTheme.headline4,
|
style: Theme.of(context).textTheme.headlineMedium,
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||||
|
@ -17,7 +17,7 @@ class Membership {
|
|||||||
durationUnit = json['durationUnit'];
|
durationUnit = json['durationUnit'];
|
||||||
durationType = json['durationType'];
|
durationType = json['durationType'];
|
||||||
trainingPlanId = json['trainingPlanId'] ?? 0;
|
trainingPlanId = json['trainingPlanId'] ?? 0;
|
||||||
trainingPlanDayIds = json['trainingPlanDayIds'] ?? 0;
|
trainingPlanDayIds = json['trainingPlanDayIds'] ?? "";
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() => {
|
Map<String, dynamic> toJson() => {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: workouttest_util
|
name: workouttest_util
|
||||||
description: Workout Test app and web functions.
|
description: Workout Test app and web functions.
|
||||||
version: 1.0.7
|
version: 1.0.8
|
||||||
homepage:
|
homepage:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user