diff --git a/lib/lenra_application/error_page.dart b/lib/lenra_application/error_page.dart index 74f51b2..15daa23 100644 --- a/lib/lenra_application/error_page.dart +++ b/lib/lenra_application/error_page.dart @@ -24,7 +24,7 @@ class ErrorPage extends StatelessWidget { message: message, child: LenraFlex( direction: Axis.vertical, - spacing: 4, + spacing: 32, crossAxisAlignment: CrossAxisAlignment.center, children: [ errorToWidget(), diff --git a/lib/views/cgu/cgu_page.dart b/lib/views/cgu/cgu_page.dart index 5cae4b7..d29266a 100644 --- a/lib/views/cgu/cgu_page.dart +++ b/lib/views/cgu/cgu_page.dart @@ -47,8 +47,8 @@ class _CguPageState extends State { children: [ LenraFlex( fillParent: true, - padding: EdgeInsets.only(bottom: 2), - spacing: 2, + padding: EdgeInsets.only(bottom: 16), + spacing: 16, mainAxisAlignment: MainAxisAlignment.end, children: [ LenraButton( @@ -84,8 +84,8 @@ class _CguPageState extends State { ), LenraFlex( fillParent: true, - padding: EdgeInsets.only(top: 4), - spacing: 2, + padding: EdgeInsets.only(top: 32), + spacing: 16, mainAxisAlignment: MainAxisAlignment.end, children: [ LenraButton( diff --git a/lib/views/cgu/cgu_page_fr.dart b/lib/views/cgu/cgu_page_fr.dart index 1036bed..c96f2b9 100644 --- a/lib/views/cgu/cgu_page_fr.dart +++ b/lib/views/cgu/cgu_page_fr.dart @@ -48,8 +48,8 @@ class _CguPageFrState extends State { children: [ LenraFlex( fillParent: true, - padding: EdgeInsets.only(bottom: 2), - spacing: 2, + padding: EdgeInsets.only(bottom: 16), + spacing: 16, mainAxisAlignment: MainAxisAlignment.start, children: [ LenraButton( @@ -89,8 +89,8 @@ class _CguPageFrState extends State { ), LenraFlex( fillParent: true, - padding: EdgeInsets.only(top: 4), - spacing: 2, + padding: EdgeInsets.only(top: 32), + spacing: 16, mainAxisAlignment: MainAxisAlignment.end, children: [ LenraButton( diff --git a/lib/views/login/change_lost_password_form.dart b/lib/views/login/change_lost_password_form.dart index ea45e60..9cae12e 100644 --- a/lib/views/login/change_lost_password_form.dart +++ b/lib/views/login/change_lost_password_form.dart @@ -52,7 +52,7 @@ class _ChangeLostPasswordState extends State { child: LenraFlex( direction: Axis.vertical, crossAxisAlignment: CrossAxisAlignment.stretch, - spacing: 3, + spacing: 24, children: [ ...widget.email == null ? [ diff --git a/lib/views/login/login_form.dart b/lib/views/login/login_form.dart index 9dc9860..96580cb 100644 --- a/lib/views/login/login_form.dart +++ b/lib/views/login/login_form.dart @@ -33,7 +33,7 @@ class _LoginFormState extends State { key: _formKey, child: LenraFlex( direction: Axis.vertical, - spacing: 2, + spacing: 16, children: [ login(context), Image.asset( @@ -77,7 +77,7 @@ class _LoginFormState extends State { bool isLogging = context.select((m) => m.loginStatus.isFetching()); return LenraFlex( direction: Axis.vertical, - spacing: 2, + spacing: 16, children: [ //------Email------ LenraTextFormField( diff --git a/lib/views/login/recovery_form.dart b/lib/views/login/recovery_form.dart index b755944..364782f 100644 --- a/lib/views/login/recovery_form.dart +++ b/lib/views/login/recovery_form.dart @@ -33,7 +33,7 @@ class _RecoveryFormState extends State { key: _formKey, child: LenraFlex( direction: Axis.vertical, - spacing: 3, + spacing: 24, children: [ Text( "Confirm your email and we'll take care of it.", diff --git a/lib/views/register/register_form.dart b/lib/views/register/register_form.dart index fc9c776..c2c6b00 100644 --- a/lib/views/register/register_form.dart +++ b/lib/views/register/register_form.dart @@ -31,7 +31,7 @@ class _RegisterFormState extends State { key: _formKey, child: LenraFlex( direction: Axis.vertical, - spacing: 5, + spacing: 40, children: [ fields(context), //------Button------ @@ -65,7 +65,7 @@ class _RegisterFormState extends State { Widget fields(BuildContext context) { return LenraFlex( direction: Axis.vertical, - spacing: 2, + spacing: 16, children: [ //------Email------ LenraTextFormField( diff --git a/lib/views/simple_page.dart b/lib/views/simple_page.dart index bab6031..86a9ebb 100644 --- a/lib/views/simple_page.dart +++ b/lib/views/simple_page.dart @@ -112,7 +112,7 @@ class SimplePage extends StatelessWidget { onTap: backInkAction, hoverColor: Colors.transparent, child: LenraFlex( - spacing: 1.5, + spacing: theme.baseSize * 1.5, children: [ Icon( Icons.arrow_back_ios_rounded, diff --git a/lib/views/verify_code/verify_code_form.dart b/lib/views/verify_code/verify_code_form.dart index 1ece55b..b0c44ab 100644 --- a/lib/views/verify_code/verify_code_form.dart +++ b/lib/views/verify_code/verify_code_form.dart @@ -26,14 +26,14 @@ class _VerifyCodeFormState extends State { return LenraFlex( direction: Axis.vertical, - spacing: 4, + spacing: 32, children: [ LenraFlex( direction: Axis.vertical, - spacing: 2, + spacing: 16, children: [ LenraFlex( - spacing: 2, + spacing: 16, fillParent: true, crossAxisAlignment: CrossAxisAlignment.center, children: [ diff --git a/pubspec.lock b/pubspec.lock index bc8044f..0584538 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -183,8 +183,8 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.0.0-beta.46" - resolved-ref: "684446c5b7f504ce1a65b4cd950e24415ab2857a" + ref: "v1.0.0-beta.48" + resolved-ref: b2379d7e04d98243ee46237dec19692d49f6f3ff url: "git@github.com:lenra-io/lenra_components.git" source: git version: "0.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index eb485fc..6a6a066 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,7 +23,7 @@ dependencies: lenra_components: git: url: git@github.com:lenra-io/lenra_components.git - ref: v1.0.0-beta.46 + ref: v1.0.0-beta.48 phoenix_wings: ^1.0.2 logging: ^1.0.2 flutter_markdown: ^0.6.10+2