fix tag example

null_safety
小赖 4 years ago
parent a31aa125ee
commit d4733a31e3

@ -6,7 +6,6 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
class ExampleTag extends StatefulWidget { class ExampleTag extends StatefulWidget {
ExampleTag({Key key}) : super(key: key); ExampleTag({Key key}) : super(key: key);
@ -40,6 +39,7 @@ class _ExampaleTagState extends State<ExampleTag> {
title: Text('yellowSolid'), title: Text('yellowSolid'),
trailing: ASTag.yellowSolid( trailing: ASTag.yellowSolid(
'带电', '带电',
width: 36.w,
), ),
), ),
ListTile( ListTile(

Loading…
Cancel
Save