const constructure
This commit is contained in:
@@ -28,7 +28,7 @@ class VoidPage extends StatelessWidget implements AutoRouteWrapper {
|
||||
(f) => AppFlushbar.showOrderFailureToast(context, f),
|
||||
(success) {
|
||||
if (context.mounted) {
|
||||
context.router.replace(VoidSuccessRoute());
|
||||
context.router.replace(const VoidSuccessRoute());
|
||||
}
|
||||
},
|
||||
),
|
||||
@@ -40,12 +40,12 @@ class VoidPage extends StatelessWidget implements AutoRouteWrapper {
|
||||
child: BlocBuilder<VoidFormBloc, VoidFormState>(
|
||||
builder: (context, state) {
|
||||
return Container(
|
||||
padding: EdgeInsets.all(24),
|
||||
padding: const EdgeInsets.all(24),
|
||||
child: Row(
|
||||
children: [
|
||||
// Left Panel - Order Details & Items
|
||||
Expanded(flex: 3, child: VoidLeftPanel(state: state)),
|
||||
SpaceWidth(24),
|
||||
const SpaceWidth(24),
|
||||
// Right Panel - Void Configuration
|
||||
Expanded(flex: 2, child: VoidRightPanel(state: state)),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user