25 lines
668 B
Dart
25 lines
668 B
Dart
// Label StoreMax
|
|
//
|
|
// Created by Anthony Gordon.
|
|
// 2022, WooSignal Ltd. All rights reserved.
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
class SafeAreaWidget extends StatelessWidget {
|
|
final Widget child;
|
|
const SafeAreaWidget({Key key, this.child}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SafeArea(
|
|
minimum: EdgeInsets.only(left: 16, right: 16, bottom: 8),
|
|
child: child,
|
|
);
|
|
}
|
|
}
|