1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| import 'package:flutter/material.dart';
|
| import '../../../utile/line_chart.dart';
| import '../line_chart.dart';
|
| class HomePage extends StatefulWidget {
| const HomePage({super.key});
|
| @override
| State<HomePage> createState() => _HomePageState();
| }
|
| class _HomePageState extends State<HomePage> {
| @override
| Widget build(BuildContext context) {
| return Scaffold(
| body: Padding(
| padding: EdgeInsets.all(20),
| // child: Text('Home Page'),
| // child: LineChartSample2(),
| child: ListView(
| children: [
| Container(
| decoration: BoxDecoration(
| color: Colors.grey,
| borderRadius: BorderRadius.circular(15)
| ),
| width: double.infinity,
| height: 350,
| child: LineChartSample2(),
| ),
| ],
| )
| ),
| );
| }
| }
|
|