update
This commit is contained in:
parent
bda39a56d0
commit
37a855cc6c
21 changed files with 176 additions and 226 deletions
|
|
@ -144,9 +144,9 @@ class _AddGenericsPageState extends State<AddGenericsPage> {
|
|||
InputWidget(label: 'Name', controller: _nameController),
|
||||
const Gap(16),
|
||||
if (_categoryList.isEmpty)
|
||||
Column(
|
||||
const Column(
|
||||
children: [
|
||||
const Gap(8),
|
||||
Gap(8),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
|
@ -173,7 +173,7 @@ class _AddGenericsPageState extends State<AddGenericsPage> {
|
|||
),
|
||||
const Gap(32),
|
||||
if (_isLoading)
|
||||
Center(child: CircularProgressIndicator(color: Colors.white))
|
||||
const Center(child: CircularProgressIndicator(color: Colors.white))
|
||||
else
|
||||
ButtonWidget(text: 'Add', onPressed: saveGeneric)
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue