in ui/lib/modules/settings/settings_screen.dart [278:335]
return SingleChildScrollView(
child: Container(
child: Column(
children: [
Container(
width: double.infinity,
child: Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 20),
])),
),
SizedBox(height: 10),
Container(
child: Center(
child: Card(
elevation: 5,
child: SizedBox(
width: 800,
height: 650,
child: Container(
child: Form(
key: _keyGitForm,
child: Padding(
padding: const EdgeInsets.all(20.0),
child: SizedBox(
width: 200,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
ConstrainedBox(
constraints: const BoxConstraints(
maxWidth: 700,
),
child: projectsList.when(
loading: () => Container(),
error: (err, stack) => Text("Failed to load projects. ${err}"),
data: (projects) {
if (projects.isNotEmpty) {
return ConstrainedBox(
constraints: const BoxConstraints(
maxWidth: 700,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(selectProjectText),
ProjectWidget(ref, projectInitialValue),
],
),
);
} else {
return Container();
}
}),