mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
auto backup drop down menu
This commit is contained in:
parent
ec3378fec2
commit
60b332ad8a
1 changed files with 38 additions and 19 deletions
|
@ -34,7 +34,7 @@ class _CreateAutoBackup extends State<CreateAutoBackup> {
|
|||
|
||||
String _currentDropDownValue = "Every 10 minutes";
|
||||
|
||||
final List<String> _dropDOwnItems = [
|
||||
final List<String> _dropDownItems = [
|
||||
"Every 10 minutes",
|
||||
"Every 20 minutes",
|
||||
"Every 30 minutes",
|
||||
|
@ -352,9 +352,28 @@ class _CreateAutoBackup extends State<CreateAutoBackup> {
|
|||
const SizedBox(
|
||||
height: 10,
|
||||
),
|
||||
DropdownButton(
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 32,
|
||||
right: 32,
|
||||
),
|
||||
child: DropdownButtonFormField(
|
||||
isExpanded: true,
|
||||
elevation: 0,
|
||||
style: STextStyles.desktopTextExtraSmall(context).copyWith(
|
||||
color: Theme.of(context).extension<StackColors>()!.textDark,
|
||||
),
|
||||
icon: SvgPicture.asset(
|
||||
Assets.svg.chevronDown,
|
||||
width: 10,
|
||||
height: 5,
|
||||
color: Theme.of(context).extension<StackColors>()!.textDark3,
|
||||
),
|
||||
dropdownColor:
|
||||
Theme.of(context).extension<StackColors>()!.textFieldActiveBG,
|
||||
// focusColor: ,
|
||||
value: _currentDropDownValue,
|
||||
items: _dropDOwnItems
|
||||
items: _dropDownItems
|
||||
.map(
|
||||
(e) => DropdownMenuItem(
|
||||
value: e,
|
||||
|
@ -370,7 +389,7 @@ class _CreateAutoBackup extends State<CreateAutoBackup> {
|
|||
}
|
||||
},
|
||||
),
|
||||
const Spacer(),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(32),
|
||||
child: Row(
|
||||
|
|
Loading…
Reference in a new issue