D1APP-102 non-safe area color added
This commit is contained in:
parent
b4f9511d17
commit
efd512e9b6
|
|
@ -1,3 +1,4 @@
|
|||
import 'package:didvan/config/design_config.dart';
|
||||
import 'package:didvan/pages/authentication/authentication.dart';
|
||||
import 'package:didvan/pages/authentication/authentication_state.dart';
|
||||
import 'package:didvan/pages/home/comments/comments.dart';
|
||||
|
|
@ -150,7 +151,13 @@ class RouteGenerator {
|
|||
|
||||
static Route _createRoute(page) {
|
||||
return MaterialPageRoute(
|
||||
builder: (context) => SafeArea(child: page, top: false),
|
||||
builder: (context) => Container(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: SafeArea(
|
||||
child: page,
|
||||
top: false,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue