修改无水波纹TabBar实现

This commit is contained in:
toly
2020-10-27 13:43:30 +08:00
parent e2a2e40434
commit e9cd9e9171
126 changed files with 370 additions and 1705 deletions

View File

@@ -20,11 +20,11 @@ class CustomConstrainedBox extends StatefulWidget {
}
class _CustomConstrainedBoxState extends State<CustomConstrainedBox> {
String _text = '';
var _text = '';
@override
Widget build(BuildContext context) {
Widget child = Container(
var child = Container(
alignment: Alignment.center,
color: Colors.cyanAccent,
width: 40,
@@ -32,7 +32,7 @@ class _CustomConstrainedBoxState extends State<CustomConstrainedBox> {
child: Text("Static"),
);
Widget box = ConstrainedBox(
var box = ConstrainedBox(
constraints: BoxConstraints(
minHeight: 50,
minWidth: 20,