修改无水波纹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

@@ -13,11 +13,11 @@ import 'package:flutter/material.dart';
class CustomVerticalDivider extends StatelessWidget {
@override
Widget build(BuildContext context) {
List<Color> dataColor = [
var dataColor = [
Colors.red, Colors.yellow,
Colors.blue, Colors.green];
List<double> dataThickness = [1.0, 2.0, 4.0, 6.0];
Map<Color, double> data = Map.fromIterables(dataColor, dataThickness);
var dataThickness = [1.0, 2.0, 4.0, 6.0];
var data = Map.fromIterables(dataColor, dataThickness);
return Container(
height: 150,
child: Row(