回答:フラッタ:タイムラインUIの答えを作成する
1214 ワード
タイムラインを作成する
Nov 4 ' 19
21
私もオサマの答えが好きですが、ここでは私の迅速なカスタム実装です.それは、線を引くために、CustomPainter
を使います.
import 'package:flutter/material.dart';
class Timeline extends StatelessWidget {
const Timeline({
@required this.children,
this.indicators,
this.isLeftAligned = true,
this.itemGap = 12.0,
this.gutterSpacing = 4.0,
this.padding = const EdgeInsets.all(8),
this.controller,
this.lineColor = Colors.grey,
this.physics,
this.shrinkWrap
...
Open Full Answer
Reference
この問題について(回答:フラッタ:タイムラインUIの答えを作成する), 我々は、より多くの情報をここで見つけました
https://dev.to/faizankamal7/answer-flutter-create-a-timeline-ui-1465
テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol
import 'package:flutter/material.dart';
class Timeline extends StatelessWidget {
const Timeline({
@required this.children,
this.indicators,
this.isLeftAligned = true,
this.itemGap = 12.0,
this.gutterSpacing = 4.0,
this.padding = const EdgeInsets.all(8),
this.controller,
this.lineColor = Colors.grey,
this.physics,
this.shrinkWrap
Reference
この問題について(回答:フラッタ:タイムラインUIの答えを作成する), 我々は、より多くの情報をここで見つけました https://dev.to/faizankamal7/answer-flutter-create-a-timeline-ui-1465テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol