criada a tela edit_procedures_screen.dart
This commit is contained in:
@@ -8,15 +8,19 @@ class DropDownButtonDefault extends StatelessWidget {
|
||||
var onChanged;
|
||||
String? select;
|
||||
String title;
|
||||
double fontSize;
|
||||
List<String> list;
|
||||
double width;
|
||||
double widthContainer;
|
||||
|
||||
DropDownButtonDefault({
|
||||
required this.onChanged,
|
||||
required this.select,
|
||||
required this.title,
|
||||
required this.list,
|
||||
required this.width
|
||||
required this.width,
|
||||
this.fontSize = 15,
|
||||
this.widthContainer = 300
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -34,9 +38,12 @@ class DropDownButtonDefault extends StatelessWidget {
|
||||
value: select,
|
||||
items: list.map((value) => DropdownMenuItem(
|
||||
value: value,
|
||||
child: TextDefault(
|
||||
text: value,
|
||||
fontSize: 15,
|
||||
child: Container(
|
||||
width: widthContainer,
|
||||
child: TextDefault(
|
||||
text: value,
|
||||
fontSize: fontSize,
|
||||
),
|
||||
),
|
||||
)
|
||||
).toList(),
|
||||
|
||||
Reference in New Issue
Block a user