refactor(bloc_layouts): refactored block using the ui layout package, due to breaking changes
This commit is contained in:
@@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user