mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 02:42:26 +00:00
Refactor SpaceDetailsActionButtons to improve button layout and spacing
This commit is contained in:
@ -24,8 +24,10 @@ class SpaceDetailsActionButtons extends StatelessWidget {
|
|||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
spacing: 10,
|
spacing: 10,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: _buildCancelButton(context)),
|
const Spacer(),
|
||||||
Expanded(child: _buildSaveButton()),
|
Expanded(flex: 2, child: _buildCancelButton(context)),
|
||||||
|
Expanded(flex: 2, child: _buildSaveButton()),
|
||||||
|
const Spacer(),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user