Browse Source

Fix alignment to left

Vishnu Mohandas 4 năm trước cách đây
mục cha
commit
3b5800a253
1 tập tin đã thay đổi với 24 bổ sung11 xóa
  1. 24 11
      lib/ui/sign_in_header_widget.dart

+ 24 - 11
lib/ui/sign_in_header_widget.dart

@@ -103,10 +103,14 @@ class _SignInHeaderState extends State<SignInHeader> {
               title: Text('protected'),
               margin: EdgeInsets.all(0),
               children: <Widget>[
-                Padding(
-                  padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
-                  child: Text(
-                      'only visible to you as they are encrypted by your master key'),
+                Align(
+                  alignment: Alignment.bottomLeft,
+                  child: Padding(
+                    padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
+                    child: Text(
+                      'only visible to you as they are encrypted by your master key',
+                    ),
+                  ),
                 ),
               ],
             ),
@@ -114,10 +118,14 @@ class _SignInHeaderState extends State<SignInHeader> {
               title: Text('preserved'),
               margin: EdgeInsets.all(0),
               children: <Widget>[
-                Padding(
-                  padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
-                  child: Text(
-                      'stored in multiple locations including an underground fallout shelter'),
+                Align(
+                  alignment: Alignment.bottomLeft,
+                  child: Padding(
+                    padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
+                    child: Text(
+                      'stored in multiple locations including an underground fallout shelter',
+                    ),
+                  ),
                 ),
               ],
             ),
@@ -125,9 +133,14 @@ class _SignInHeaderState extends State<SignInHeader> {
               title: Text('accessible'),
               margin: EdgeInsets.all(0),
               children: <Widget>[
-                Padding(
-                  padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
-                  child: Text('accessible across all your devices'),
+                Align(
+                  alignment: Alignment.bottomLeft,
+                  child: Padding(
+                    padding: const EdgeInsets.fromLTRB(16, 0, 16, 16),
+                    child: Text(
+                      'available on all your devices',
+                    ),
+                  ),
                 ),
               ],
             ),