-
Notifications
You must be signed in to change notification settings - Fork 35
widgets:w_syspadding.dart
Nhan Cao edited this page Jun 8, 2023
·
1 revision
import 'package:flutter/material.dart';
// View auto resized when keyboard open
class WSysPadding extends StatelessWidget {
const WSysPadding({Key? key, this.child}) : super(key: key);
final Widget? child;
@override
Widget build(BuildContext context) {
final MediaQueryData mediaQuery = MediaQuery.of(context);
return AnimatedContainer(
padding: EdgeInsets.only(bottom: mediaQuery.viewInsets.bottom),
duration: const Duration(milliseconds: 300),
child: child,
);
}
}-
widgets
- o_toast.dart
- w_behide_keyboard.dart
- w_border_shadow.dart
- w_bottom_action_sheet.dart
- w_button_circle.dart
- w_button_inkwell.dart
- w_button_raised_flat.dart
- w_button_rounded.dart
- w_card_rounded.dart
- w_card_shadow.dart
- w_dialog_alert.dart
- w_dialog_delete.dart
- w_divider_line.dart
- w_keyboard_detector.dart
- w_marquee.dart
- w_picker_date.dart
- w_picker_time.dart
- w_picker_value.dart
- w_syspadding.dart
- w_text_shadow.dart