refactor(bloc_layouts): refactored block using the ui layout package, due to breaking changes

This commit is contained in:
2023-08-28 14:47:15 +02:00
parent 791a6d0f83
commit 1c47fa8e94
23 changed files with 97 additions and 30 deletions
@@ -5,10 +5,10 @@ import 'package:bloc_layout_example/components/custom_loading_widget.dart';
import 'package:wyatt_ui_components/wyatt_ui_components.dart';
abstract class AppThemeComponent {
static const ComponentThemeData components = ComponentThemeData.raw(
topAppBar: CustomAppBar(),
bottomNavigationBar: CustomBottomBar(),
loader: CustomLoadingWidget(),
error: CustomErrorWidget(),
static ComponentThemeData components = ComponentThemeData.raw(
topAppBars: const CustomAppBar().registry(),
bottomNavigationBars: const CustomBottomBar().registry(),
loaders: const CustomLoadingWidget().registry(),
errors: const CustomErrorWidget().registry(),
);
}