|
|
|
|
@ -197,6 +197,8 @@ class MorphologicalCenterWidgetState extends State<MorphologicalCenterWidget> {
|
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
|
controller: _scrollController,
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 16),
|
|
|
|
|
child: Wrap(
|
|
|
|
|
alignment: WrapAlignment.center,
|
|
|
|
|
children: allMorphTagsForEdit.map((tag) {
|
|
|
|
|
@ -204,7 +206,8 @@ class MorphologicalCenterWidgetState extends State<MorphologicalCenterWidget> {
|
|
|
|
|
margin: const EdgeInsets.all(2),
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
|
|
|
|
borderRadius:
|
|
|
|
|
const BorderRadius.all(Radius.circular(10)),
|
|
|
|
|
border: Border.all(
|
|
|
|
|
color: selectedMorphTag == tag
|
|
|
|
|
? Theme.of(context).colorScheme.primary
|
|
|
|
|
@ -251,6 +254,7 @@ class MorphologicalCenterWidgetState extends State<MorphologicalCenterWidget> {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
const SizedBox(height: 10),
|
|
|
|
|
Row(
|
|
|
|
|
spacing: 10,
|
|
|
|
|
|