课程块滚动

lvxinquan
LRC 2 years ago
parent 4983638625
commit 7c6ccefc15

@ -296,7 +296,7 @@
"languageVersion": "3.1"
}
],
"generated": "2023-09-23T11:39:32.187593Z",
"generated": "2023-09-26T14:43:12.084123Z",
"generator": "pub",
"generatorVersion": "3.1.0"
}

@ -192,6 +192,6 @@ file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/xdg_director
file:///C:/Users/L/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/xdg_directories-1.0.3/lib/
timemanagerapp
3.1
file:///D:/Myprogramfile/Flutter/TimeManager/src/timemanagerapp/
file:///D:/Myprogramfile/Flutter/TimeManager/src/timemanagerapp/lib/
file:///D:/Myprogramfile/Flutter/TimeManager/TimeManager/src/timemanagerapp/
file:///D:/Myprogramfile/Flutter/TimeManager/TimeManager/src/timemanagerapp/lib/
2

@ -30,12 +30,12 @@
<setting file="file://$PROJECT_DIR$/lib/setting/Setting.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/bin/cache/pkg/sky_engine/lib/core/date_time.dart" root0="SKIP_INSPECTION" />
<setting file="file://$USER_HOME$/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/shared_preferences-2.2.1/lib/shared_preferences.dart" root0="SKIP_INSPECTION" />
<setting file="file://$PROJECT_DIR$/lib/wighets/AddCourseFormWidget.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/lib/wighets/RegisterWidget.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/pubspec.yaml" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/lib/wighets/RegisterWidget.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://C:/SDKs/Flutter/flutter_windows_3.13.2-stable/flutter/bin/cache/pkg/sky_engine/lib/core/string.dart" root0="SKIP_INSPECTION" />
<setting file="file://$PROJECT_DIR$/lib/tests/Setting_test.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/lib/main.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/lib/wighets/AddCourseFormWidget.dart" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/lib/tests/Setting_test.dart" root0="FORCE_HIGHLIGHTING" />
</component>
<component name="JsbtTreeLayoutManager">
<layout place="tools.popupGrunt">
@ -64,6 +64,8 @@
</component>
<component name="PropertiesComponent">
<property name="DatabaseDriversLRU" value="mysql" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="ToolWindowRun.ShowToolbar" value="false" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
@ -98,17 +100,6 @@
</key>
</component>
<component name="RunManager" selected="Flutter.main.dart">
<configuration default="true" type="ArquillianJUnit" factoryName="" nameIsGenerated="true">
<option name="arquillianRunConfiguration">
<value>
<option name="containerStateName" value="" />
</value>
</option>
<option name="TEST_OBJECT" value="class" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="GetCourseByLogin.dart" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application" temporary="true" nameIsGenerated="true">
<option name="filePath" value="$PROJECT_DIR$/lib/util/GetCourseByLogin.dart" />
<option name="workingDirectory" value="$PROJECT_DIR$" />
@ -189,6 +180,7 @@
<workItem from="1695721283440" duration="1068000" />
<workItem from="1695727139040" duration="13000" />
<workItem from="1695729103403" duration="8100000" />
<workItem from="1695739077875" duration="1503000" />
</task>
<servers />
</component>

@ -277,89 +277,95 @@ class PageState extends State<TimetableWidget> {
left: courseWeekMap[weekCount]![index]
.getdx() +
50,
child: Container(
//
width: 40,
height:
courseWeekMap[weekCount]![index]
.getHeight(),
decoration: BoxDecoration(
color: Colors.tealAccent,
//
borderRadius: BorderRadius.all(
Radius.circular(10.0)), //
),
child: ClipRect(
child: Column(
//
children: [
Text(
courseWeekMap[weekCount]![
index]
.name,
style: TextStyle(
fontSize: 10,
fontWeight:
FontWeight.bold),
overflow: TextOverflow
.clip, //name
),
Text(
courseWeekMap[weekCount]![
index]
.teacher,
style: TextStyle(fontSize: 8),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.location,
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.start
.hour
.toString() +
':' +
courseWeekMap[weekCount]![
index]
.start
.minute
.toString(),
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.end
.hour
.toString() +
':' +
courseWeekMap[weekCount]![
index]
.end
.minute
.toString(),
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.remark,
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
],
child: SingleChildScrollView(
child: Container(
//
width: 40,
height:
courseWeekMap[weekCount]![index]
.getHeight(),
decoration: BoxDecoration(
color: Colors.tealAccent,
//
borderRadius: BorderRadius.all(
Radius.circular(
10.0)), //
),
child: SingleChildScrollView(
child: Column(
//
children: [
Text(
courseWeekMap[weekCount]![
index]
.name,
style: TextStyle(
fontSize: 10,
fontWeight:
FontWeight.bold),
overflow: TextOverflow
.clip, //name
),
Text(
courseWeekMap[weekCount]![
index]
.teacher,
style:
TextStyle(fontSize: 8),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.location,
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.start
.hour
.toString() +
':' +
courseWeekMap[
weekCount]![
index]
.start
.minute
.toString(),
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.end
.hour
.toString() +
':' +
courseWeekMap[
weekCount]![
index]
.end
.minute
.toString(),
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
Text(
courseWeekMap[weekCount]![
index]
.remark,
style:
TextStyle(fontSize: 10),
overflow: TextOverflow.clip,
),
],
),
),
),
),

Loading…
Cancel
Save