const constructure
This commit is contained in:
@@ -12,7 +12,7 @@ class _OutletDialogState extends State<OutletDialog> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
context.read<OutletLoaderBloc>().add(
|
||||
OutletLoaderEvent.fetched(isRefresh: true),
|
||||
const OutletLoaderEvent.fetched(isRefresh: true),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class _OutletDialogState extends State<OutletDialog> {
|
||||
child: BlocBuilder<OutletLoaderBloc, OutletLoaderState>(
|
||||
builder: (context, state) {
|
||||
if (state.isFetching) {
|
||||
return LoaderWithText();
|
||||
return const LoaderWithText();
|
||||
}
|
||||
|
||||
return Column(
|
||||
@@ -46,8 +46,11 @@ class _OutletDialogState extends State<OutletDialog> {
|
||||
),
|
||||
),
|
||||
),
|
||||
SpaceHeight(24),
|
||||
AppElevatedButton.filled(onPressed: null, label: 'Terapkan'),
|
||||
const SpaceHeight(24),
|
||||
const AppElevatedButton.filled(
|
||||
onPressed: null,
|
||||
label: 'Terapkan',
|
||||
),
|
||||
],
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user