first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class TileWidget extends StatelessWidget {
const TileWidget(
{Key key, @required this.index, this.backgroundColor: Colors.green})
: super(key: key);
final int index;
final Color backgroundColor;
@override
Widget build(BuildContext context) {
return new Container(
color: this.backgroundColor,
child: new Center(
child: new CircleAvatar(
backgroundColor: Colors.white,
child: new Text('$index+1'),
)),
);
}
}