mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-19 21:39:16 +00:00
Changed size ring chart
This commit is contained in:
parent
d14dca8bd8
commit
a8bd57904c
3 changed files with 3 additions and 2 deletions
|
@ -121,6 +121,8 @@ On [this repository](https://github.com/JuanRodenas/Pihole_list) you can find a
|
|||
- [flutter dotenv](https://pub.dev/packages/flutter_dotenv)
|
||||
- [flutter reorderable list](https://pub.dev/packages/flutter_reorderable_list)
|
||||
- [pie chart](https://pub.dev/packages/pie_chart)
|
||||
- [go router](https://pub.dev/packages/go_router)
|
||||
- [flutter hooks](https://pub.dev/packages/flutter_hooks)
|
||||
|
||||
<br>
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ class _TopItemsState extends State<TopItems> {
|
|||
if (widget.data.isNotEmpty && width <= 700) ...[
|
||||
if (_showChart) ...[
|
||||
SizedBox(
|
||||
height: 300,
|
||||
height: 150,
|
||||
child: chart
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
|
|
@ -16,7 +16,6 @@ class CustomPieChart extends StatelessWidget {
|
|||
return PieChart(
|
||||
dataMap: data,
|
||||
animationDuration: const Duration(milliseconds: 800),
|
||||
chartRadius: MediaQuery.of(context).size.width / 3,
|
||||
colorList: colors,
|
||||
initialAngleInDegree: 270,
|
||||
chartType: ChartType.ring,
|
||||
|
|
Loading…
Add table
Reference in a new issue