This commit is contained in:
@@ -49,14 +49,14 @@ class Home extends StatelessWidget {
|
||||
appBar: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(60),
|
||||
child: context.components.appBar?.copyWith
|
||||
.title('Example title'.wrap()) ??
|
||||
.title(const TextWrapper('Example title')) ??
|
||||
const SizedBox.shrink(),
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: context.components.errorWidget
|
||||
?.copyWith(error: 'Example erreur'.wrap()) ??
|
||||
?.copyWith(error: const TextWrapper('Example erreur')) ??
|
||||
const SizedBox.shrink(),
|
||||
),
|
||||
const SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user