mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-10 03:57:39 +08:00
update
This commit is contained in:
@@ -100,7 +100,7 @@ class MyApp extends StatelessWidget {
|
|||||||
// This works for code too, not just values: Most code changes can be
|
// This works for code too, not just values: Most code changes can be
|
||||||
// tested with just a hot reload.
|
// tested with just a hot reload.
|
||||||
colorScheme: ColorScheme.fromSeed(
|
colorScheme: ColorScheme.fromSeed(
|
||||||
seedColor: Colors.deepPurple, brightness: Brightness.dark),
|
seedColor: Colors.blue, brightness: Brightness.dark),
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
),
|
),
|
||||||
routerConfig: _router,
|
routerConfig: _router,
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ class _TvDetailsPageState extends State<TvDetailsPage> {
|
|||||||
m[ep.seasonNumber!]!.add(w);
|
m[ep.seasonNumber!]!.add(w);
|
||||||
}
|
}
|
||||||
List<ExpansionTile> list = List.empty(growable: true);
|
List<ExpansionTile> list = List.empty(growable: true);
|
||||||
for (final k in m.keys) {
|
for (final k in m.keys.toList().reversed) {
|
||||||
bool _customTileExpanded = false;
|
bool _customTileExpanded = false;
|
||||||
var seasonList = ExpansionTile(
|
var seasonList = ExpansionTile(
|
||||||
tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
|
tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
|
||||||
@@ -98,7 +98,7 @@ class _TvDetailsPageState extends State<TvDetailsPage> {
|
|||||||
list.add(seasonList);
|
list.add(seasonList);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Column(
|
return ListView(
|
||||||
children: [
|
children: [
|
||||||
Card(
|
Card(
|
||||||
margin: const EdgeInsets.all(4),
|
margin: const EdgeInsets.all(4),
|
||||||
@@ -132,11 +132,10 @@ class _TvDetailsPageState extends State<TvDetailsPage> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Column(
|
||||||
child: ListView(
|
|
||||||
children: list,
|
children: list,
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user