Browse Source

Added rounded gray box with rounded corners to background of instance selection

master
Robby Zambito 6 months ago
parent
commit
04da7a61ab
1 changed files with 11 additions and 2 deletions
  1. +11
    -2
      lib/views/unauthenticated/instance_selector.dart

+ 11
- 2
lib/views/unauthenticated/instance_selector.dart View File

@ -34,7 +34,7 @@ class _InstanceSelectorState extends State {
var _isCustomInstance = false;
final _formKey = GlobalKey<FormState>();
static const _selectionScaleFactor = 1.5;
static const _selectionScaleFactor = 1.3;
List<Widget> _buildCountryList() {
if (this.widget._hamletInstances.isEmpty) {
@ -125,8 +125,17 @@ class _InstanceSelectorState extends State {
),
),
Container(
color: Color.fromRGBO(153, 153, 153, .4),
padding: const EdgeInsets.all(10),
margin: const EdgeInsets.only(top: 10),
constraints: BoxConstraints.expand(
width: 300,
height: 50
),
alignment: Alignment.center,
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(20)),
color: Color.fromRGBO(153, 153, 153, .4),
),
child: DirectSelect(
itemExtent: 35,
selectedIndex: _selectedCountryIndex,

Loading…
Cancel
Save