Add import/export option to designs
This commit is contained in:
parent
6d9d57df90
commit
4319443af8
|
|
@ -483,7 +483,10 @@ class _DesignSettingsState extends State<DesignSettings> {
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(localization.viewDocs.toUpperCase()),
|
child: Text(
|
||||||
|
localization.viewDocs.toUpperCase(),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onPressed: () => launchUrl(Uri.parse(kDocsCustomFieldsUrl)),
|
onPressed: () => launchUrl(Uri.parse(kDocsCustomFieldsUrl)),
|
||||||
),
|
),
|
||||||
|
|
@ -493,7 +496,10 @@ class _DesignSettingsState extends State<DesignSettings> {
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(localization.import.toUpperCase()),
|
child: Text(
|
||||||
|
localization.import.toUpperCase(),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
final designStr = await showDialog<String>(
|
final designStr = await showDialog<String>(
|
||||||
|
|
@ -514,7 +520,10 @@ class _DesignSettingsState extends State<DesignSettings> {
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Text(localization.export.toUpperCase()),
|
child: Text(
|
||||||
|
localization.export.toUpperCase(),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
final design = widget.viewModel.design;
|
final design = widget.viewModel.design;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue