mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-21 22:58:49 +00:00
ssl checkbox
This commit is contained in:
parent
67cd3e5948
commit
a0e2456cf2
1 changed files with 39 additions and 6 deletions
|
@ -47,7 +47,7 @@ class _CashFusionViewState extends ConsumerState<CashFusionView> {
|
||||||
|
|
||||||
String _serverTerm = "";
|
String _serverTerm = "";
|
||||||
String _portTerm = "";
|
String _portTerm = "";
|
||||||
late bool enableSSLCheckbox;
|
bool _enableSSLCheckbox = false;
|
||||||
|
|
||||||
FusionOption _option = FusionOption.continuous;
|
FusionOption _option = FusionOption.continuous;
|
||||||
|
|
||||||
|
@ -187,10 +187,44 @@ class _CashFusionViewState extends ConsumerState<CashFusionView> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 10,
|
height: 10,
|
||||||
),
|
),
|
||||||
Checkbox(
|
GestureDetector(
|
||||||
value: true,
|
onTap: () {
|
||||||
onChanged: (_) {},
|
setState(() {
|
||||||
), // TODO replace placholder Checkbox
|
_enableSSLCheckbox = !_enableSSLCheckbox;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
width: 20,
|
||||||
|
height: 20,
|
||||||
|
child: Checkbox(
|
||||||
|
materialTapTargetSize:
|
||||||
|
MaterialTapTargetSize.shrinkWrap,
|
||||||
|
value: _enableSSLCheckbox,
|
||||||
|
onChanged: (newValue) {
|
||||||
|
setState(
|
||||||
|
() {
|
||||||
|
_enableSSLCheckbox =
|
||||||
|
!_enableSSLCheckbox;
|
||||||
|
},
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(
|
||||||
|
width: 12,
|
||||||
|
),
|
||||||
|
Text(
|
||||||
|
"Use SSL",
|
||||||
|
style: STextStyles.itemSubtitle12(context),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 16,
|
height: 16,
|
||||||
),
|
),
|
||||||
|
@ -255,7 +289,6 @@ class _CashFusionViewState extends ConsumerState<CashFusionView> {
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 16,
|
height: 16,
|
||||||
),
|
),
|
||||||
|
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
PrimaryButton(
|
PrimaryButton(
|
||||||
label: "Start",
|
label: "Start",
|
||||||
|
|
Loading…
Reference in a new issue