mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Can change group registration level
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import 'package:comunic/ui/widgets/auto_sized_dialog_content_widget.dart';
|
||||
import 'package:comunic/utils/intl_utils.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -70,21 +71,19 @@ class __MultiChoicesEntryDialogState<T>
|
||||
Widget build(BuildContext context) {
|
||||
return AlertDialog(
|
||||
title: Text(widget.title),
|
||||
content: SingleChildScrollView(
|
||||
child: IntrinsicHeight(
|
||||
child: Column(
|
||||
children: widget.choices
|
||||
.map((f) => ListTile(
|
||||
leading: Radio<T>(
|
||||
groupValue: _currChoice,
|
||||
value: f.id,
|
||||
onChanged: (v) => setState(() => _currChoice = v),
|
||||
),
|
||||
title: Text(f.title),
|
||||
subtitle: Text(f.subtitle),
|
||||
))
|
||||
.toList(),
|
||||
),
|
||||
content: AutoSizeDialogContentWidget(
|
||||
child: Column(
|
||||
children: widget.choices
|
||||
.map((f) => ListTile(
|
||||
leading: Radio<T>(
|
||||
groupValue: _currChoice,
|
||||
value: f.id,
|
||||
onChanged: (v) => setState(() => _currChoice = v),
|
||||
),
|
||||
title: Text(f.title),
|
||||
subtitle: Text(f.subtitle),
|
||||
))
|
||||
.toList(),
|
||||
),
|
||||
),
|
||||
actions: <Widget>[
|
||||
|
Reference in New Issue
Block a user