mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
fix: layout
This commit is contained in:
@@ -93,7 +93,11 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
|
|||||||
children: [
|
children: [
|
||||||
DataTable(columns: const [
|
DataTable(columns: const [
|
||||||
DataColumn(label: Text("#")),
|
DataColumn(label: Text("#")),
|
||||||
DataColumn(label: SizedBox(width: 500, child: Text("标题"),)),
|
DataColumn(
|
||||||
|
label: SizedBox(
|
||||||
|
width: 500,
|
||||||
|
child: Text("标题"),
|
||||||
|
)),
|
||||||
DataColumn(label: Text("播出时间")),
|
DataColumn(label: Text("播出时间")),
|
||||||
DataColumn(label: Text("状态")),
|
DataColumn(label: Text("状态")),
|
||||||
DataColumn(label: Text("操作"))
|
DataColumn(label: Text("操作"))
|
||||||
@@ -104,6 +108,7 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
|
|||||||
}
|
}
|
||||||
return ListView(
|
return ListView(
|
||||||
children: [
|
children: [
|
||||||
|
|
||||||
Card(
|
Card(
|
||||||
margin: const EdgeInsets.all(4),
|
margin: const EdgeInsets.all(4),
|
||||||
clipBehavior: Clip.hardEdge,
|
clipBehavior: Clip.hardEdge,
|
||||||
@@ -121,6 +126,7 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
|
flex: 6,
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
@@ -157,7 +163,9 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
|
|||||||
fontWeight: FontWeight.bold),
|
fontWeight: FontWeight.bold),
|
||||||
),
|
),
|
||||||
const Text(""),
|
const Text(""),
|
||||||
Text(details!.overview!)
|
Text(
|
||||||
|
details!.overview!,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
Column(
|
Column(
|
||||||
|
|||||||
Reference in New Issue
Block a user