From bcb3a1e77785148e1c6a5da74fbecea702974927 Mon Sep 17 00:00:00 2001 From: Bryan Figueroa Date: Mon, 4 Apr 2022 19:34:36 -0600 Subject: [PATCH 01/10] Golden files for auto layout --- .../auto_layout/auto_layout_file_names.txt | 50 ++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk1.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk2.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk3.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk4.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk5.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk6.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk7.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk8.golden | 110 +++++++++++++++++ .../auto_layout/col_hz_fx_vr_fx_sp_pk9.golden | 110 +++++++++++++++++ .../col_hz_fx_vr_fx_sp_sb147.golden | 104 ++++++++++++++++ .../col_hz_fx_vr_fx_sp_sb258.golden | 104 ++++++++++++++++ .../col_hz_fx_vr_fx_sp_sb369.golden | 104 ++++++++++++++++ .../col_hz_fx_vr_hg_sp_pk147.golden | 111 ++++++++++++++++++ .../col_hz_fx_vr_hg_sp_pk258.golden | 111 ++++++++++++++++++ .../col_hz_fx_vr_hg_sp_pk369.golden | 111 ++++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk1.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk2.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk3.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk4.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk5.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk6.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk7.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk8.golden | 109 +++++++++++++++++ .../auto_layout/col_hz_hg_vr_fx_sp_pk9.golden | 109 +++++++++++++++++ .../col_hz_hg_vr_fx_sp_sb147.golden | 103 ++++++++++++++++ .../col_hz_hg_vr_fx_sp_sb258.golden | 103 ++++++++++++++++ .../col_hz_hg_vr_fx_sp_sb369.golden | 103 ++++++++++++++++ .../col_hz_hg_vr_hg_sp_pk123456789.golden | 110 +++++++++++++++++ ...pace_col_hz_hg_vr_hg_sp_pk123456789.golden | 106 +++++++++++++++++ ...pace_row_hz_hg_vr_hg_sp_pk123456789.golden | 106 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk1.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk2.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk3.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk4.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk5.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk6.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk7.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk8.golden | 110 +++++++++++++++++ .../auto_layout/row_hz_fx_vr_fx_sp_pk9.golden | 110 +++++++++++++++++ .../row_hz_fx_vr_fx_sp_sb123.golden | 104 ++++++++++++++++ .../row_hz_fx_vr_fx_sp_sb456.golden | 104 ++++++++++++++++ .../row_hz_fx_vr_fx_sp_sb789.golden | 104 ++++++++++++++++ .../row_hz_fx_vr_hg_sp_pk147.golden | 109 +++++++++++++++++ .../row_hz_fx_vr_hg_sp_pk258.golden | 109 +++++++++++++++++ .../row_hz_fx_vr_hg_sp_pk369.golden | 109 +++++++++++++++++ .../row_hz_fx_vr_hg_sp_sb123456789.golden | 103 ++++++++++++++++ .../row_hz_hg_vr_fx_sp_pk147.golden | 111 ++++++++++++++++++ .../row_hz_hg_vr_fx_sp_pk258.golden | 111 ++++++++++++++++++ .../row_hz_hg_vr_fx_sp_pk369.golden | 111 ++++++++++++++++++ .../row_hz_hg_vr_hg_sp_pk123456789.golden | 110 +++++++++++++++++ 51 files changed, 5472 insertions(+) create mode 100644 test/golden/golden_files/auto_layout/auto_layout_file_names.txt create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk1.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk2.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk3.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk4.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk5.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk6.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk7.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk8.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk9.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb147.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb258.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb369.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk147.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk258.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk369.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk1.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk2.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk3.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk4.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk5.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk6.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk7.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk8.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk9.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb147.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb258.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb369.golden create mode 100644 test/golden/golden_files/auto_layout/col_hz_hg_vr_hg_sp_pk123456789.golden create mode 100644 test/golden/golden_files/auto_layout/no_space_col_hz_hg_vr_hg_sp_pk123456789.golden create mode 100644 test/golden/golden_files/auto_layout/no_space_row_hz_hg_vr_hg_sp_pk123456789.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk1.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk2.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk3.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk4.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk5.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk6.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk7.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk8.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk9.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb123.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb456.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb789.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk147.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk258.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk369.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_sb123456789.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk147.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk258.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk369.golden create mode 100644 test/golden/golden_files/auto_layout/row_hz_hg_vr_hg_sp_pk123456789.golden diff --git a/test/golden/golden_files/auto_layout/auto_layout_file_names.txt b/test/golden/golden_files/auto_layout/auto_layout_file_names.txt new file mode 100644 index 00000000..c7b1fdb5 --- /dev/null +++ b/test/golden/golden_files/auto_layout/auto_layout_file_names.txt @@ -0,0 +1,50 @@ +col_hz_fx_vr_fx_sp_pk1 +col_hz_fx_vr_fx_sp_pk2 +col_hz_fx_vr_fx_sp_pk3 +col_hz_fx_vr_fx_sp_pk4 +col_hz_fx_vr_fx_sp_pk5 +col_hz_fx_vr_fx_sp_pk6 +col_hz_fx_vr_fx_sp_pk7 +col_hz_fx_vr_fx_sp_pk8 +col_hz_fx_vr_fx_sp_pk9 +col_hz_fx_vr_fx_sp_sb147 +col_hz_fx_vr_fx_sp_sb258 +col_hz_fx_vr_fx_sp_sb369 +col_hz_fx_vr_hg_sp_pk147 +col_hz_fx_vr_hg_sp_pk258 +col_hz_fx_vr_hg_sp_pk369 +col_hz_hg_vr_fx_sp_pk1 +col_hz_hg_vr_fx_sp_pk2 +col_hz_hg_vr_fx_sp_pk3 +col_hz_hg_vr_fx_sp_pk4 +col_hz_hg_vr_fx_sp_pk5 +col_hz_hg_vr_fx_sp_pk6 +col_hz_hg_vr_fx_sp_pk7 +col_hz_hg_vr_fx_sp_pk8 +col_hz_hg_vr_fx_sp_pk9 +col_hz_hg_vr_fx_sp_sb147 +col_hz_hg_vr_fx_sp_sb258 +col_hz_hg_vr_fx_sp_sb369 +col_hz_hg_vr_hg_sp_pk123456789 +no_space_col_hz_hg_vr_hg_sp_pk123456789 +no_space_row_hz_hg_vr_hg_sp_pk123456789 +row_hz_fx_vr_fx_sp_pk1 +row_hz_fx_vr_fx_sp_pk2 +row_hz_fx_vr_fx_sp_pk3 +row_hz_fx_vr_fx_sp_pk4 +row_hz_fx_vr_fx_sp_pk5 +row_hz_fx_vr_fx_sp_pk6 +row_hz_fx_vr_fx_sp_pk7 +row_hz_fx_vr_fx_sp_pk8 +row_hz_fx_vr_fx_sp_pk9 +row_hz_fx_vr_fx_sp_sb123 +row_hz_fx_vr_fx_sp_sb456 +row_hz_fx_vr_fx_sp_sb789 +row_hz_fx_vr_hg_sp_pk147 +row_hz_fx_vr_hg_sp_pk258 +row_hz_fx_vr_hg_sp_pk369 +row_hz_fx_vr_hg_sp_sb123456789 +row_hz_hg_vr_fx_sp_pk147 +row_hz_hg_vr_fx_sp_pk258 +row_hz_hg_vr_fx_sp_pk369 +row_hz_hg_vr_hg_sp_pk123456789 \ No newline at end of file diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk1.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk1.golden new file mode 100644 index 00000000..fe37815b --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk1.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk1 extends StatefulWidget { + const ColHzFxVrFxSpPk1({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk1 createState() => _ColHzFxVrFxSpPk1(); +} + +class _ColHzFxVrFxSpPk1 extends State { + _ColHzFxVrFxSpPk1(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk2.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk2.golden new file mode 100644 index 00000000..b8d6c974 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk2.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk2 extends StatefulWidget { + const ColHzFxVrFxSpPk2({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk2 createState() => _ColHzFxVrFxSpPk2(); +} + +class _ColHzFxVrFxSpPk2 extends State { + _ColHzFxVrFxSpPk2(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk3.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk3.golden new file mode 100644 index 00000000..d4151230 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk3.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk3 extends StatefulWidget { + const ColHzFxVrFxSpPk3({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk3 createState() => _ColHzFxVrFxSpPk3(); +} + +class _ColHzFxVrFxSpPk3 extends State { + _ColHzFxVrFxSpPk3(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk4.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk4.golden new file mode 100644 index 00000000..2e69b6b7 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk4.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk4 extends StatefulWidget { + const ColHzFxVrFxSpPk4({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk4 createState() => _ColHzFxVrFxSpPk4(); +} + +class _ColHzFxVrFxSpPk4 extends State { + _ColHzFxVrFxSpPk4(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk5.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk5.golden new file mode 100644 index 00000000..52394c00 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk5.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk5 extends StatefulWidget { + const ColHzFxVrFxSpPk5({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk5 createState() => _ColHzFxVrFxSpPk5(); +} + +class _ColHzFxVrFxSpPk5 extends State { + _ColHzFxVrFxSpPk5(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk6.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk6.golden new file mode 100644 index 00000000..7e1ca387 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk6.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk6 extends StatefulWidget { + const ColHzFxVrFxSpPk6({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk6 createState() => _ColHzFxVrFxSpPk6(); +} + +class _ColHzFxVrFxSpPk6 extends State { + _ColHzFxVrFxSpPk6(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk7.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk7.golden new file mode 100644 index 00000000..4fef3e4b --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk7.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk7 extends StatefulWidget { + const ColHzFxVrFxSpPk7({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk7 createState() => _ColHzFxVrFxSpPk7(); +} + +class _ColHzFxVrFxSpPk7 extends State { + _ColHzFxVrFxSpPk7(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk8.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk8.golden new file mode 100644 index 00000000..c72f44d7 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk8.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk8 extends StatefulWidget { + const ColHzFxVrFxSpPk8({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk8 createState() => _ColHzFxVrFxSpPk8(); +} + +class _ColHzFxVrFxSpPk8 extends State { + _ColHzFxVrFxSpPk8(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk9.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk9.golden new file mode 100644 index 00000000..76585b38 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_pk9.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpPk9 extends StatefulWidget { + const ColHzFxVrFxSpPk9({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpPk9 createState() => _ColHzFxVrFxSpPk9(); +} + +class _ColHzFxVrFxSpPk9 extends State { + _ColHzFxVrFxSpPk9(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb147.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb147.golden new file mode 100644 index 00000000..3087efab --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb147.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpSb147 extends StatefulWidget { + const ColHzFxVrFxSpSb147({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpSb147 createState() => _ColHzFxVrFxSpSb147(); +} + +class _ColHzFxVrFxSpSb147 extends State { + _ColHzFxVrFxSpSb147(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb258.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb258.golden new file mode 100644 index 00000000..657353fe --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb258.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpSb258 extends StatefulWidget { + const ColHzFxVrFxSpSb258({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpSb258 createState() => _ColHzFxVrFxSpSb258(); +} + +class _ColHzFxVrFxSpSb258 extends State { + _ColHzFxVrFxSpSb258(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb369.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb369.golden new file mode 100644 index 00000000..651bea4b --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_fx_sp_sb369.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrFxSpSb369 extends StatefulWidget { + const ColHzFxVrFxSpSb369({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrFxSpSb369 createState() => _ColHzFxVrFxSpSb369(); +} + +class _ColHzFxVrFxSpSb369 extends State { + _ColHzFxVrFxSpSb369(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk147.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk147.golden new file mode 100644 index 00000000..01e25121 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk147.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrHgSpPk147 extends StatefulWidget { + const ColHzFxVrHgSpPk147({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrHgSpPk147 createState() => _ColHzFxVrHgSpPk147(); +} + +class _ColHzFxVrHgSpPk147 extends State { + _ColHzFxVrHgSpPk147(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 157.0, + height: 85.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk258.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk258.golden new file mode 100644 index 00000000..b9791a1a --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk258.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrHgSpPk258 extends StatefulWidget { + const ColHzFxVrHgSpPk258({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrHgSpPk258 createState() => _ColHzFxVrHgSpPk258(); +} + +class _ColHzFxVrHgSpPk258 extends State { + _ColHzFxVrHgSpPk258(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 157.0, + height: 85.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk369.golden b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk369.golden new file mode 100644 index 00000000..41bcca6e --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_fx_vr_hg_sp_pk369.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzFxVrHgSpPk369 extends StatefulWidget { + const ColHzFxVrHgSpPk369({ + Key? key, + }) : super(key: key); + @override + _ColHzFxVrHgSpPk369 createState() => _ColHzFxVrHgSpPk369(); +} + +class _ColHzFxVrHgSpPk369 extends State { + _ColHzFxVrHgSpPk369(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 37.0, + width: 326.0, + top: 157.0, + height: 85.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 326.000, + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk1.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk1.golden new file mode 100644 index 00000000..6b704766 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk1.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk1 extends StatefulWidget { + const ColHzHgVrFxSpPk1({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk1 createState() => _ColHzHgVrFxSpPk1(); +} + +class _ColHzHgVrFxSpPk1 extends State { + _ColHzHgVrFxSpPk1(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk2.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk2.golden new file mode 100644 index 00000000..4c32a61b --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk2.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk2 extends StatefulWidget { + const ColHzHgVrFxSpPk2({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk2 createState() => _ColHzHgVrFxSpPk2(); +} + +class _ColHzHgVrFxSpPk2 extends State { + _ColHzHgVrFxSpPk2(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk3.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk3.golden new file mode 100644 index 00000000..33adb64c --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk3.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk3 extends StatefulWidget { + const ColHzHgVrFxSpPk3({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk3 createState() => _ColHzHgVrFxSpPk3(); +} + +class _ColHzHgVrFxSpPk3 extends State { + _ColHzHgVrFxSpPk3(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk4.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk4.golden new file mode 100644 index 00000000..b773fcc9 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk4.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk4 extends StatefulWidget { + const ColHzHgVrFxSpPk4({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk4 createState() => _ColHzHgVrFxSpPk4(); +} + +class _ColHzHgVrFxSpPk4 extends State { + _ColHzHgVrFxSpPk4(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk5.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk5.golden new file mode 100644 index 00000000..7074d866 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk5.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk5 extends StatefulWidget { + const ColHzHgVrFxSpPk5({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk5 createState() => _ColHzHgVrFxSpPk5(); +} + +class _ColHzHgVrFxSpPk5 extends State { + _ColHzHgVrFxSpPk5(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk6.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk6.golden new file mode 100644 index 00000000..43a9342e --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk6.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk6 extends StatefulWidget { + const ColHzHgVrFxSpPk6({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk6 createState() => _ColHzHgVrFxSpPk6(); +} + +class _ColHzHgVrFxSpPk6 extends State { + _ColHzHgVrFxSpPk6(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk7.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk7.golden new file mode 100644 index 00000000..6f3dc7b7 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk7.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk7 extends StatefulWidget { + const ColHzHgVrFxSpPk7({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk7 createState() => _ColHzHgVrFxSpPk7(); +} + +class _ColHzHgVrFxSpPk7 extends State { + _ColHzHgVrFxSpPk7(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk8.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk8.golden new file mode 100644 index 00000000..8c799201 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk8.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk8 extends StatefulWidget { + const ColHzHgVrFxSpPk8({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk8 createState() => _ColHzHgVrFxSpPk8(); +} + +class _ColHzHgVrFxSpPk8 extends State { + _ColHzHgVrFxSpPk8(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk9.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk9.golden new file mode 100644 index 00000000..02147a9b --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_pk9.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpPk9 extends StatefulWidget { + const ColHzHgVrFxSpPk9({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpPk9 createState() => _ColHzHgVrFxSpPk9(); +} + +class _ColHzHgVrFxSpPk9 extends State { + _ColHzHgVrFxSpPk9(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb147.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb147.golden new file mode 100644 index 00000000..338419ed --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb147.golden @@ -0,0 +1,103 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpSb147 extends StatefulWidget { + const ColHzHgVrFxSpSb147({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpSb147 createState() => _ColHzHgVrFxSpSb147(); +} + +class _ColHzHgVrFxSpSb147 extends State { + _ColHzHgVrFxSpSb147(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb258.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb258.golden new file mode 100644 index 00000000..135e2db7 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb258.golden @@ -0,0 +1,103 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpSb258 extends StatefulWidget { + const ColHzHgVrFxSpSb258({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpSb258 createState() => _ColHzHgVrFxSpSb258(); +} + +class _ColHzHgVrFxSpSb258 extends State { + _ColHzHgVrFxSpSb258(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb369.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb369.golden new file mode 100644 index 00000000..f2fc120d --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_fx_sp_sb369.golden @@ -0,0 +1,103 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrFxSpSb369 extends StatefulWidget { + const ColHzHgVrFxSpSb369({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrFxSpSb369 createState() => _ColHzHgVrFxSpSb369(); +} + +class _ColHzHgVrFxSpSb369 extends State { + _ColHzHgVrFxSpSb369(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 100.0, + height: 200.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/col_hz_hg_vr_hg_sp_pk123456789.golden b/test/golden/golden_files/auto_layout/col_hz_hg_vr_hg_sp_pk123456789.golden new file mode 100644 index 00000000..89cabc94 --- /dev/null +++ b/test/golden/golden_files/auto_layout/col_hz_hg_vr_hg_sp_pk123456789.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class ColHzHgVrHgSpPk123456789 extends StatefulWidget { + const ColHzHgVrHgSpPk123456789({ + Key? key, + }) : super(key: key); + @override + _ColHzHgVrHgSpPk123456789 createState() => _ColHzHgVrHgSpPk123456789(); +} + +class _ColHzHgVrHgSpPk123456789 extends State { + _ColHzHgVrHgSpPk123456789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 157.0, + height: 85.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + height: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/no_space_col_hz_hg_vr_hg_sp_pk123456789.golden b/test/golden/golden_files/auto_layout/no_space_col_hz_hg_vr_hg_sp_pk123456789.golden new file mode 100644 index 00000000..c77edce2 --- /dev/null +++ b/test/golden/golden_files/auto_layout/no_space_col_hz_hg_vr_hg_sp_pk123456789.golden @@ -0,0 +1,106 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class NoSpaceColHzHgVrHgSpPk123456789 extends StatefulWidget { + const NoSpaceColHzHgVrHgSpPk123456789({ + Key? key, + }) : super(key: key); + @override + _NoSpaceColHzHgVrHgSpPk123456789 createState() => + _NoSpaceColHzHgVrHgSpPk123456789(); +} + +class _NoSpaceColHzHgVrHgSpPk123456789 + extends State { + _NoSpaceColHzHgVrHgSpPk123456789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 171.0, + width: 59.0, + top: 157.0, + height: 65.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/no_space_row_hz_hg_vr_hg_sp_pk123456789.golden b/test/golden/golden_files/auto_layout/no_space_row_hz_hg_vr_hg_sp_pk123456789.golden new file mode 100644 index 00000000..f7e80447 --- /dev/null +++ b/test/golden/golden_files/auto_layout/no_space_row_hz_hg_vr_hg_sp_pk123456789.golden @@ -0,0 +1,106 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class NoSpaceRowHzHgVrHgSpPk123456789 extends StatefulWidget { + const NoSpaceRowHzHgVrHgSpPk123456789({ + Key? key, + }) : super(key: key); + @override + _NoSpaceRowHzHgVrHgSpPk123456789 createState() => + _NoSpaceRowHzHgVrHgSpPk123456789(); +} + +class _NoSpaceRowHzHgVrHgSpPk123456789 + extends State { + _NoSpaceRowHzHgVrHgSpPk123456789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 133.0, + width: 114.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk1.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk1.golden new file mode 100644 index 00000000..ffc29f3f --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk1.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk1 extends StatefulWidget { + const RowHzFxVrFxSpPk1({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk1 createState() => _RowHzFxVrFxSpPk1(); +} + +class _RowHzFxVrFxSpPk1 extends State { + _RowHzFxVrFxSpPk1(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk2.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk2.golden new file mode 100644 index 00000000..1290d8c0 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk2.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk2 extends StatefulWidget { + const RowHzFxVrFxSpPk2({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk2 createState() => _RowHzFxVrFxSpPk2(); +} + +class _RowHzFxVrFxSpPk2 extends State { + _RowHzFxVrFxSpPk2(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk3.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk3.golden new file mode 100644 index 00000000..5909bcdb --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk3.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk3 extends StatefulWidget { + const RowHzFxVrFxSpPk3({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk3 createState() => _RowHzFxVrFxSpPk3(); +} + +class _RowHzFxVrFxSpPk3 extends State { + _RowHzFxVrFxSpPk3(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk4.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk4.golden new file mode 100644 index 00000000..2c6932e5 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk4.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk4 extends StatefulWidget { + const RowHzFxVrFxSpPk4({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk4 createState() => _RowHzFxVrFxSpPk4(); +} + +class _RowHzFxVrFxSpPk4 extends State { + _RowHzFxVrFxSpPk4(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk5.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk5.golden new file mode 100644 index 00000000..7c028240 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk5.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk5 extends StatefulWidget { + const RowHzFxVrFxSpPk5({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk5 createState() => _RowHzFxVrFxSpPk5(); +} + +class _RowHzFxVrFxSpPk5 extends State { + _RowHzFxVrFxSpPk5(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk6.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk6.golden new file mode 100644 index 00000000..b9f53682 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk6.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk6 extends StatefulWidget { + const RowHzFxVrFxSpPk6({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk6 createState() => _RowHzFxVrFxSpPk6(); +} + +class _RowHzFxVrFxSpPk6 extends State { + _RowHzFxVrFxSpPk6(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk7.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk7.golden new file mode 100644 index 00000000..c76989e9 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk7.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk7 extends StatefulWidget { + const RowHzFxVrFxSpPk7({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk7 createState() => _RowHzFxVrFxSpPk7(); +} + +class _RowHzFxVrFxSpPk7 extends State { + _RowHzFxVrFxSpPk7(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk8.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk8.golden new file mode 100644 index 00000000..c08baecd --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk8.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk8 extends StatefulWidget { + const RowHzFxVrFxSpPk8({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk8 createState() => _RowHzFxVrFxSpPk8(); +} + +class _RowHzFxVrFxSpPk8 extends State { + _RowHzFxVrFxSpPk8(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk9.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk9.golden new file mode 100644 index 00000000..7d5144ee --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_pk9.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpPk9 extends StatefulWidget { + const RowHzFxVrFxSpPk9({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpPk9 createState() => _RowHzFxVrFxSpPk9(); +} + +class _RowHzFxVrFxSpPk9 extends State { + _RowHzFxVrFxSpPk9(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 100.0, + width: 200.0, + top: 170.0, + height: 60.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 200.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb123.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb123.golden new file mode 100644 index 00000000..e9a050d3 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb123.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpSb123 extends StatefulWidget { + const RowHzFxVrFxSpSb123({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpSb123 createState() => _RowHzFxVrFxSpSb123(); +} + +class _RowHzFxVrFxSpSb123 extends State { + _RowHzFxVrFxSpSb123(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 39.0, + width: 322.0, + top: 175.0, + height: 50.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 322.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb456.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb456.golden new file mode 100644 index 00000000..8694edce --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb456.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpSb456 extends StatefulWidget { + const RowHzFxVrFxSpSb456({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpSb456 createState() => _RowHzFxVrFxSpSb456(); +} + +class _RowHzFxVrFxSpSb456 extends State { + _RowHzFxVrFxSpSb456(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 39.0, + width: 322.0, + top: 175.0, + height: 50.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 322.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb789.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb789.golden new file mode 100644 index 00000000..ce7dd6a1 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_fx_sp_sb789.golden @@ -0,0 +1,104 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrFxSpSb789 extends StatefulWidget { + const RowHzFxVrFxSpSb789({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrFxSpSb789 createState() => _RowHzFxVrFxSpSb789(); +} + +class _RowHzFxVrFxSpSb789 extends State { + _RowHzFxVrFxSpSb789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 39.0, + width: 322.0, + top: 175.0, + height: 50.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 322.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk147.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk147.golden new file mode 100644 index 00000000..c876b8ca --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk147.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrHgSpPk147 extends StatefulWidget { + const RowHzFxVrHgSpPk147({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrHgSpPk147 createState() => _RowHzFxVrHgSpPk147(); +} + +class _RowHzFxVrHgSpPk147 extends State { + _RowHzFxVrHgSpPk147(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 32.0, + width: 322.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk258.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk258.golden new file mode 100644 index 00000000..2e12300d --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk258.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrHgSpPk258 extends StatefulWidget { + const RowHzFxVrHgSpPk258({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrHgSpPk258 createState() => _RowHzFxVrHgSpPk258(); +} + +class _RowHzFxVrHgSpPk258 extends State { + _RowHzFxVrHgSpPk258(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 39.0, + width: 322.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk369.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk369.golden new file mode 100644 index 00000000..c5fed2c6 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_pk369.golden @@ -0,0 +1,109 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrHgSpPk369 extends StatefulWidget { + const RowHzFxVrHgSpPk369({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrHgSpPk369 createState() => _RowHzFxVrHgSpPk369(); +} + +class _RowHzFxVrHgSpPk369 extends State { + _RowHzFxVrHgSpPk369(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 39.0, + width: 322.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.end, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_sb123456789.golden b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_sb123456789.golden new file mode 100644 index 00000000..44e2fc3a --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_fx_vr_hg_sp_sb123456789.golden @@ -0,0 +1,103 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzFxVrHgSpSb123456789 extends StatefulWidget { + const RowHzFxVrHgSpSb123456789({ + Key? key, + }) : super(key: key); + @override + _RowHzFxVrHgSpSb123456789 createState() => _RowHzFxVrHgSpSb123456789(); +} + +class _RowHzFxVrHgSpSb123456789 extends State { + _RowHzFxVrHgSpSb123456789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 32.0, + width: 322.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk147.golden b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk147.golden new file mode 100644 index 00000000..05956627 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk147.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzHgVrFxSpPk147 extends StatefulWidget { + const RowHzHgVrFxSpPk147({ + Key? key, + }) : super(key: key); + @override + _RowHzHgVrFxSpPk147 createState() => _RowHzHgVrFxSpPk147(); +} + +class _RowHzHgVrFxSpPk147 extends State { + _RowHzHgVrFxSpPk147(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 133.0, + width: 134.0, + top: 150.0, + height: 100.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 134.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk258.golden b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk258.golden new file mode 100644 index 00000000..be93152d --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk258.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzHgVrFxSpPk258 extends StatefulWidget { + const RowHzHgVrFxSpPk258({ + Key? key, + }) : super(key: key); + @override + _RowHzHgVrFxSpPk258 createState() => _RowHzHgVrFxSpPk258(); +} + +class _RowHzHgVrFxSpPk258 extends State { + _RowHzHgVrFxSpPk258(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 133.0, + width: 134.0, + top: 150.0, + height: 100.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 134.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk369.golden b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk369.golden new file mode 100644 index 00000000..b6b64d2f --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_hg_vr_fx_sp_pk369.golden @@ -0,0 +1,111 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzHgVrFxSpPk369 extends StatefulWidget { + const RowHzHgVrFxSpPk369({ + Key? key, + }) : super(key: key); + @override + _RowHzHgVrFxSpPk369 createState() => _RowHzHgVrFxSpPk369(); +} + +class _RowHzHgVrFxSpPk369 extends State { + _RowHzHgVrFxSpPk369(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 133.0, + width: 134.0, + top: 150.0, + height: 100.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + width: 134.000, + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.end, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} diff --git a/test/golden/golden_files/auto_layout/row_hz_hg_vr_hg_sp_pk123456789.golden b/test/golden/golden_files/auto_layout/row_hz_hg_vr_hg_sp_pk123456789.golden new file mode 100644 index 00000000..db3971d0 --- /dev/null +++ b/test/golden/golden_files/auto_layout/row_hz_hg_vr_hg_sp_pk123456789.golden @@ -0,0 +1,110 @@ +// ********************************************************************************* +// PARABEAC-GENERATED CODE. DO NOT MODIFY. +// +// FOR MORE INFORMATION ON HOW TO USE PARABEAC, PLEASE VISIT docs.parabeac.com +// ********************************************************************************* + +import 'package:flutter/material.dart'; +import 'package:auto_size_text/auto_size_text.dart'; + +class RowHzHgVrHgSpPk123456789 extends StatefulWidget { + const RowHzHgVrHgSpPk123456789({ + Key? key, + }) : super(key: key); + @override + _RowHzHgVrHgSpPk123456789 createState() => _RowHzHgVrHgSpPk123456789(); +} + +class _RowHzHgVrHgSpPk123456789 extends State { + _RowHzHgVrHgSpPk123456789(); + + @override + Widget build(BuildContext context) { + return Material( + color: Colors.white, + child: Stack(children: [ + Positioned( + left: 133.0, + width: 134.0, + top: 183.0, + height: 35.0, + child: Container( + padding: EdgeInsets.only( + left: 10.0, + right: 10.0, + top: 10.0, + bottom: 10.0, + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Container( + height: 15.0, + width: 24.0, + child: Container( + width: 24.000, + height: 15.000, + child: AutoSizeText( + 'Left', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 39.0, + child: Container( + width: 39.000, + height: 15.000, + child: AutoSizeText( + 'Middle', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + SizedBox( + width: 10.0, + ), + Container( + height: 15.0, + width: 31.0, + child: Container( + width: 31.000, + height: 15.000, + child: AutoSizeText( + 'Right', + style: TextStyle( + fontFamily: 'Sanchez', + fontSize: 12.0, + fontWeight: FontWeight.w400, + letterSpacing: 0.0, + color: Colors.white, + ), + textAlign: TextAlign.left, + ))), + ])), + ), + ]), + ); + } + + @override + void dispose() { + super.dispose(); + } +} From 8b3cc5d48a5a39848ee956288512a267d3b252ad Mon Sep 17 00:00:00 2001 From: Bryan Figueroa Date: Mon, 4 Apr 2022 19:35:04 -0600 Subject: [PATCH 02/10] Auto layout golden test --- test/golden/auto_layout_test.dart | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 test/golden/auto_layout_test.dart diff --git a/test/golden/auto_layout_test.dart b/test/golden/auto_layout_test.dart new file mode 100644 index 00000000..5c030972 --- /dev/null +++ b/test/golden/auto_layout_test.dart @@ -0,0 +1,64 @@ +import 'dart:io'; +import 'package:path/path.dart' as path; +import 'package:test/test.dart'; + +void main() { + final projectName = 'golden_auto_layout_testing_project'; + final basePath = path.join(path.current, 'test', 'golden'); + final runtimeFilePath = path.join(basePath, projectName, 'lib'); + final goldenFilesPath = path.join(basePath, 'golden_files', 'auto_layout'); + group('Auto Layout Golden Test', () { + setUp(() async { + // Run Parabeac core to generate test file + await Process.run('dart', [ + 'parabeac.dart', + '-f', + 'PxDC3cxF6tNWVZpWSTb7Hu', + '-k', + '346172-e6b93eec-364f-4baa-bee8-24bf1e4d26da', + '-n', + '$projectName', + '-o', + '$basePath' + ]); + }); + test('Generating Auto Layout and Comparing Golden File', () async { + /// Fetch a list with all the names for Auto Layout Golden Files + final fileNames = + File(path.join(goldenFilesPath, 'auto_layout_file_names.txt')); + + final goldenFiles = []; + final runtimeFiles = []; + + var fileNamesLines = fileNames.readAsLinesSync(); + + /// Add all files as golden files to the list + /// Also add run time files to another list + for (var i = 0; i < fileNamesLines.length; i++) { + goldenFiles.add( + File(path.join(goldenFilesPath, '${fileNamesLines[i]}.golden'))); + + runtimeFiles.add(File(path.join(runtimeFilePath, 'screens', + 'auto_layout_permutations', '${fileNamesLines[i]}.g.dart'))); + } + + /// Iterate through golden/runtime files and compare them + for (var i = 0; i < goldenFiles.length; i++) { + var goldenFile = goldenFiles[i]; + var runtimeFile = runtimeFiles[i]; + var goldenFileLines = goldenFile.readAsLinesSync(); + var runtimeFileLines = runtimeFile.readAsLinesSync(); + + for (var j = 0; j < goldenFileLines.length; j++) { + expect(runtimeFileLines[j], goldenFileLines[j], + reason: 'File ${path.basename(goldenFile.path)} Line $j'); + } + } + }, timeout: Timeout(Duration(minutes: 5))); + + tearDown(() async { + // Remove temporary project + await Process.start('rm', ['-rf', path.join(basePath, projectName)]); + }); + }); +} From c1969908a9669f528fb7988d80ecc55a9ce8cea0 Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Thu, 7 Apr 2022 12:25:48 -0600 Subject: [PATCH 03/10] Add `BoxConstraints` typing to widgets. Previously, this was dynamically typed. --- .../template_strategy/stateful_template_strategy.dart | 2 +- .../template_strategy/stateless_template_strategy.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generation/generators/value_objects/template_strategy/stateful_template_strategy.dart b/lib/generation/generators/value_objects/template_strategy/stateful_template_strategy.dart index cea1b67c..a28646d3 100644 --- a/lib/generation/generators/value_objects/template_strategy/stateful_template_strategy.dart +++ b/lib/generation/generators/value_objects/template_strategy/stateful_template_strategy.dart @@ -48,7 +48,7 @@ class StatefulTemplateStrategy extends TemplateStrategy { ${manager.generateImports()} class $widgetName extends StatefulWidget{ - ${node is PBSharedMasterNode ? 'final constraints;' : ''} + ${node is PBSharedMasterNode ? 'final BoxConstraints constraints;' : ''} $overrideVars const $widgetName(${node is PBSharedMasterNode ? 'this.constraints,' : ''} {Key? key, $overrides}) : super(key: key); @override diff --git a/lib/generation/generators/value_objects/template_strategy/stateless_template_strategy.dart b/lib/generation/generators/value_objects/template_strategy/stateless_template_strategy.dart index 5879703e..1fa580bf 100644 --- a/lib/generation/generators/value_objects/template_strategy/stateless_template_strategy.dart +++ b/lib/generation/generators/value_objects/template_strategy/stateless_template_strategy.dart @@ -31,7 +31,7 @@ class StatelessTemplateStrategy extends TemplateStrategy { ${manager.generateImports()} class ${widgetName.pascalCase} extends StatelessWidget{ - ${node is PBSharedMasterNode ? 'final constraints;' : ''} + ${node is PBSharedMasterNode ? 'final BoxConstraints constraints;' : ''} ${overrideVars.isNotEmpty ? overrideVars : ''} const ${widgetName.pascalCase}(${node is PBSharedMasterNode ? 'this.constraints,' : ''} {Key? key, ${overrides.isNotEmpty ? overrides : ''}}) : super(key : key); ${manager.generateGlobalVariables()} From 431629ec291b2621b304e8f076a40e666d4b37e9 Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Fri, 8 Apr 2022 12:27:04 -0600 Subject: [PATCH 04/10] Add `BoxConstraints` type to golden files --- test/golden/golden_files/styling/helloworld.golden | 2 +- test/golden/golden_files/styling/primary_button.golden | 2 +- test/golden/golden_files/styling/primary_button_rect.golden | 2 +- test/golden/golden_files/styling/secondary_button.golden | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/golden/golden_files/styling/helloworld.golden b/test/golden/golden_files/styling/helloworld.golden index 4c5e73a4..62e976ae 100644 --- a/test/golden/golden_files/styling/helloworld.golden +++ b/test/golden/golden_files/styling/helloworld.golden @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:auto_size_text/auto_size_text.dart'; class Helloworld extends StatefulWidget { - final constraints; + final BoxConstraints constraints; final String? ovrHelloworld; const Helloworld( this.constraints, { diff --git a/test/golden/golden_files/styling/primary_button.golden b/test/golden/golden_files/styling/primary_button.golden index 3fa9e8bc..11f40f38 100644 --- a/test/golden/golden_files/styling/primary_button.golden +++ b/test/golden/golden_files/styling/primary_button.golden @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:auto_size_text/auto_size_text.dart'; class PrimaryButton extends StatefulWidget { - final constraints; + final BoxConstraints constraints; final String? ovrClickMe; const PrimaryButton( this.constraints, { diff --git a/test/golden/golden_files/styling/primary_button_rect.golden b/test/golden/golden_files/styling/primary_button_rect.golden index f1aa5585..27a88056 100644 --- a/test/golden/golden_files/styling/primary_button_rect.golden +++ b/test/golden/golden_files/styling/primary_button_rect.golden @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:auto_size_text/auto_size_text.dart'; class PrimaryButtonRect extends StatefulWidget { - final constraints; + final BoxConstraints constraints; final String? ovrClickMe; const PrimaryButtonRect( this.constraints, { diff --git a/test/golden/golden_files/styling/secondary_button.golden b/test/golden/golden_files/styling/secondary_button.golden index 022be494..6b0e1f23 100644 --- a/test/golden/golden_files/styling/secondary_button.golden +++ b/test/golden/golden_files/styling/secondary_button.golden @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:auto_size_text/auto_size_text.dart'; class SecondaryButton extends StatefulWidget { - final constraints; + final BoxConstraints constraints; final String? ovrClickMe; const SecondaryButton( this.constraints, { From 9e50992a33d1782843b21a6eba949df7efc7df9e Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Fri, 8 Apr 2022 12:49:51 -0600 Subject: [PATCH 05/10] Change AutoLayout figma ID to test suite file --- test/golden/auto_layout_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/golden/auto_layout_test.dart b/test/golden/auto_layout_test.dart index 5c030972..1d64972b 100644 --- a/test/golden/auto_layout_test.dart +++ b/test/golden/auto_layout_test.dart @@ -13,7 +13,7 @@ void main() { await Process.run('dart', [ 'parabeac.dart', '-f', - 'PxDC3cxF6tNWVZpWSTb7Hu', + '9yfEiTTiE5hoyZeRTGopQd', '-k', '346172-e6b93eec-364f-4baa-bee8-24bf1e4d26da', '-n', From 4032d7c3e19968082cf8cdb1b0892f698c651ae2 Mon Sep 17 00:00:00 2001 From: Bryan Figueroa Date: Sat, 9 Apr 2022 20:38:21 -0600 Subject: [PATCH 06/10] Temporal fix por import to custom --- lib/tags/custom_tag/custom_tag.dart | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/tags/custom_tag/custom_tag.dart b/lib/tags/custom_tag/custom_tag.dart index ee64eae1..582093db 100644 --- a/lib/tags/custom_tag/custom_tag.dart +++ b/lib/tags/custom_tag/custom_tag.dart @@ -92,6 +92,7 @@ class CustomTagGenerator extends PBGenerator { '$DIRECTORY_GEN/$cleanName.dart', MainInfo().projectName, )); + context.configuration.generationConfiguration.fileStructureStrategy .commandCreated(WriteSymbolCommand( Uuid().v4(), @@ -135,7 +136,21 @@ class CustomTagGenerator extends PBGenerator { } } } + + /// Clean name for import + var componentCleanName = PBInputFormatter.formatLabel( + child.name.replaceAll('Group', '').snakeCase); + + // Dynamic import, hot fix + var import = FlutterImport( + '${WriteSymbolCommand.DEFAULT_SYMBOL_PATH}/${context.tree.name}/$componentCleanName.g.dart', + MainInfo().projectName, + ).toString(); + + var componentName = className.replaceAll('Custom', ''); + return ''' + $import import 'package:flutter/material.dart'; class $className extends StatefulWidget{ @@ -150,7 +165,7 @@ class CustomTagGenerator extends PBGenerator { class _${className}State extends State<$className> { @override Widget build(BuildContext context){ - return widget.child!; + return widget.child ?? $componentName(BoxConstraints(maxWidth: ${child.parent.frame.width}, maxHeight: ${child.parent.frame.height},)); } } '''; From 037eb3ad8b66782b180103e68dc8adf4b2a1827e Mon Sep 17 00:00:00 2001 From: Bryan Figueroa Date: Sat, 9 Apr 2022 20:38:37 -0600 Subject: [PATCH 07/10] Injected on custom for component --- lib/generation/generators/plugins/pb_plugin_node.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/generation/generators/plugins/pb_plugin_node.dart b/lib/generation/generators/plugins/pb_plugin_node.dart index 05b23d16..5556627f 100644 --- a/lib/generation/generators/plugins/pb_plugin_node.dart +++ b/lib/generation/generators/plugins/pb_plugin_node.dart @@ -47,6 +47,9 @@ abstract class PBTag extends PBVisualIntermediateNode { // [PBSharedMasterNode] and the [PBSharedMasterNode]'s children. That is why we are returing // `iNode` at the end. if (iNode is PBSharedMasterNode) { + tree.injectBetween( + parent: iNode, child: tree.childrenOf(iNode).first, insertee: tag); + return iNode; } else if (iNode is PBSharedInstanceIntermediateNode) { iNode.parent = parent; From 97dd2e08c79473d9839fc8c166145730a0cb2ddb Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Sun, 10 Apr 2022 22:18:10 -0600 Subject: [PATCH 08/10] Fix imports and made custom file more robust. --- lib/tags/custom_tag/custom_tag.dart | 67 +++++++++++++++++++---------- 1 file changed, 44 insertions(+), 23 deletions(-) diff --git a/lib/tags/custom_tag/custom_tag.dart b/lib/tags/custom_tag/custom_tag.dart index 582093db..70311911 100644 --- a/lib/tags/custom_tag/custom_tag.dart +++ b/lib/tags/custom_tag/custom_tag.dart @@ -10,7 +10,6 @@ import 'package:parabeac_core/interpret_and_optimize/entities/interfaces/pb_inje import 'package:parabeac_core/interpret_and_optimize/entities/subclasses/pb_intermediate_constraints.dart'; import 'package:parabeac_core/interpret_and_optimize/entities/pb_shared_instance.dart'; import 'package:parabeac_core/interpret_and_optimize/entities/pb_shared_master_node.dart'; -import 'package:parabeac_core/interpret_and_optimize/entities/subclasses/pb_layout_intermediate_node.dart'; import 'package:parabeac_core/interpret_and_optimize/helpers/child_strategy.dart'; import 'package:parabeac_core/interpret_and_optimize/helpers/override_helper.dart'; import 'package:parabeac_core/interpret_and_optimize/helpers/pb_context.dart'; @@ -18,6 +17,7 @@ import 'package:parabeac_core/interpret_and_optimize/entities/subclasses/pb_inte import 'package:parabeac_core/interpret_and_optimize/helpers/pb_intermediate_node_tree.dart'; import 'package:uuid/uuid.dart'; import 'package:recase/recase.dart'; +import 'package:path/path.dart' as path; class CustomTag extends PBTag implements PBInjectedIntermediate { @override @@ -30,6 +30,8 @@ class CustomTag extends PBTag implements PBInjectedIntermediate { ParentLayoutSizing layoutCrossAxisSizing; @override ParentLayoutSizing layoutMainAxisSizing; + + bool isComponent; CustomTag( String UUID, Rectangle3D frame, @@ -37,6 +39,7 @@ class CustomTag extends PBTag implements PBInjectedIntermediate { PBIntermediateConstraints constraints, this.layoutCrossAxisSizing, this.layoutMainAxisSizing, + this.isComponent, }) : super( UUID, frame, @@ -69,6 +72,8 @@ class CustomTag extends PBTag implements PBInjectedIntermediate { constraints: originalRef.constraints.copyWith(), layoutCrossAxisSizing: originalRef.layoutCrossAxisSizing, layoutMainAxisSizing: originalRef.layoutMainAxisSizing, + isComponent: originalRef is PBSharedMasterNode && + originalRef.componentSetName == null, //Variable used to add extra info. to custom file. ); } } @@ -94,15 +99,21 @@ class CustomTagGenerator extends PBGenerator { )); context.configuration.generationConfiguration.fileStructureStrategy - .commandCreated(WriteSymbolCommand( - Uuid().v4(), - cleanName, - customBoilerPlate( - titleName, context.tree.childrenOf(source).first, context), - relativePath: '$DIRECTORY_GEN', - symbolPath: 'lib', - ownership: FileOwnership.DEV, - )); + .commandCreated( + WriteSymbolCommand( + Uuid().v4(), + cleanName, + customBoilerPlate( + titleName, + context.tree.childrenOf(source).first, + context, + source, + ), + relativePath: '$DIRECTORY_GEN', + symbolPath: 'lib', + ownership: FileOwnership.DEV, + ), + ); if (source is CustomTag) { return ''' @@ -115,7 +126,11 @@ class CustomTagGenerator extends PBGenerator { } String customBoilerPlate( - String className, PBIntermediateNode child, PBContext context) { + String className, + PBIntermediateNode child, + PBContext context, + CustomTag source, + ) { var variableList = []; if (child is PBSharedInstanceIntermediateNode) { if (child.sharedParamValues != null) { @@ -137,17 +152,23 @@ class CustomTagGenerator extends PBGenerator { } } - /// Clean name for import - var componentCleanName = PBInputFormatter.formatLabel( - child.name.replaceAll('Group', '').snakeCase); - - // Dynamic import, hot fix - var import = FlutterImport( - '${WriteSymbolCommand.DEFAULT_SYMBOL_PATH}/${context.tree.name}/$componentCleanName.g.dart', - MainInfo().projectName, - ).toString(); - - var componentName = className.replaceAll('Custom', ''); + /// Import variable in case we need to import + /// component file inside component + var import = ''; + /// Suffix to be appended after `widget.child`. + /// The '!' is for null safety. Optionally, + /// we can also add reference to the component. + var suffix = '!'; + if (source.isComponent) { + var baseCompName = className.replaceAll('Custom', ''); + import = FlutterImport( + path.join(WriteSymbolCommand.DEFAULT_SYMBOL_PATH, context.tree.name, + '${baseCompName.snakeCase}.g.dart'), + MainInfo().projectName, + ).toString(); + suffix = + '?? $baseCompName(BoxConstraints(maxWidth: ${child.parent.frame.width}, maxHeight: ${child.parent.frame.height},))'; + } return ''' $import @@ -165,7 +186,7 @@ class CustomTagGenerator extends PBGenerator { class _${className}State extends State<$className> { @override Widget build(BuildContext context){ - return widget.child ?? $componentName(BoxConstraints(maxWidth: ${child.parent.frame.width}, maxHeight: ${child.parent.frame.height},)); + return widget.child $suffix; } } '''; From f3821b9840716a0719de13a18c204394205884cf Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Sun, 10 Apr 2022 22:27:07 -0600 Subject: [PATCH 09/10] Fix typo --- lib/tags/custom_tag/custom_tag.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tags/custom_tag/custom_tag.dart b/lib/tags/custom_tag/custom_tag.dart index 70311911..5cc84c59 100644 --- a/lib/tags/custom_tag/custom_tag.dart +++ b/lib/tags/custom_tag/custom_tag.dart @@ -153,7 +153,7 @@ class CustomTagGenerator extends PBGenerator { } /// Import variable in case we need to import - /// component file inside component + /// component file inside custom file var import = ''; /// Suffix to be appended after `widget.child`. /// The '!' is for null safety. Optionally, From 0fff107eea51bbcf5428fa61ee956905eca1524d Mon Sep 17 00:00:00 2001 From: Ivan <42812006+ivan-015@users.noreply.github.com> Date: Mon, 11 Apr 2022 14:48:16 -0600 Subject: [PATCH 10/10] 2.8.0 Fixed BoxConstraints typing for widgets. Add default widget to custom components, enabling being called independently --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index d8988eec..5e5c13b9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: parabeac_core description: Continuous Design / Continuous Integration for Figma-to-Flutter -version: 2.7.0 +version: 2.8.0 # homepage: https://www.example.com environment: