Skip to content

Commit df7ce90

Browse files
committed
upload the pic and comply the gesture for other shape.
1 parent a9257ac commit df7ce90

File tree

5 files changed

+3
-4
lines changed

5 files changed

+3
-4
lines changed

doc/circle/circle_pie_chart.png

22.6 KB
Loading

doc/circle/pie_chart_tri.gif

497 KB
Loading

lib/circle/CirclePainter.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class CirclePainter extends CustomPainter {
3535

3636
@override
3737
void paint(Canvas canvas, Size size) {
38-
//580*648
3938
if (size.width > 1.0 && size.height > 1.0) {
4039
print(">1.9");
4140
_sizeUtil.logicSize = size;

lib/circle/CircleTrianglePainter.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class CircleTrianglePainter extends CustomPainter {
3535

3636
@override
3737
void paint(Canvas canvas, Size size) {
38-
//580*648
3938
if (size.width > 1.0 && size.height > 1.0) {
4039
print(">1.9");
4140
_sizeUtil.logicSize = size;

lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class _HomeState extends State<HomePage> {
7878
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
7979
crossAxisCount: 1,
8080
mainAxisSpacing: 10,
81-
childAspectRatio: 1.3,
81+
childAspectRatio: 1.5,
8282
),
8383
itemBuilder: (context, index) {
8484
return InkWell(
@@ -94,7 +94,8 @@ class _HomeState extends State<HomePage> {
9494
alignment: AlignmentDirectional.bottomCenter,
9595
padding: EdgeInsets.only(bottom: 10.0),
9696
child: Text(
97-
PAGES_CONST[index]["title"],
97+
// PAGES_CONST[index]["title"],
98+
"",
9899
style: TextStyle(color: Colors.grey[700]),
99100
),
100101
)

0 commit comments

Comments
 (0)