Bläddra i källkod

加入 地址选择器

lailin 4 år sedan
förälder
incheckning
46af2c128a
2 ändrade filer med 10 tillägg och 6 borttagningar
  1. 7 6
      taskservice/lib/src/crtacc/page_crtacc.dart
  2. 3 0
      taskservice/pubspec.yaml

+ 7 - 6
taskservice/lib/src/crtacc/page_crtacc.dart

@@ -196,12 +196,13 @@ class _CreateAccPageState extends State<CreateAccPage> {
                 style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold),
               ),
               Expanded(
-                  child: Padding(
-                padding: const EdgeInsets.symmetric(horizontal: 20),
-                child: Container(
-                    margin: EdgeInsets.only(bottom: 1),
-                    child: Text('省份/城市/区域')),
-              )),
+                child: Padding(
+                  padding: const EdgeInsets.symmetric(horizontal: 20),
+                  child: Container(
+                      margin: EdgeInsets.only(bottom: 1),
+                      child: Text('省份/城市/区域')),
+                ),
+              ),
             ],
           ),
         ),

+ 3 - 0
taskservice/pubspec.yaml

@@ -29,7 +29,10 @@ dependencies:
   # The following adds the Cupertino Icons font to your application.
   # Use with the CupertinoIcons class for iOS style icons.
   cupertino_icons: ^0.1.3
+  # toast弹框
   fluttertoast: ^3.1.0
+  # 地址选择
+  city_pickers: ^0.0.1
 
 dev_dependencies:
   flutter_test: