- Updated import paths across multiple files to reflect the new package name. - Changed application name and identifiers in CMakeLists.txt, Runner.rc, and other configuration files. - Modified web index.html and manifest.json to update the app title and name. - Adjusted macOS and Windows project settings to align with the new application name. - Ensured consistency in naming across all relevant files and directories.
29 lines
750 B
Dart
29 lines
750 B
Dart
import 'package:on_field_work/helpers/widgets/my_display_type.dart';
|
|
import 'package:on_field_work/helpers/widgets/my_screen_media.dart';
|
|
import 'package:on_field_work/helpers/widgets/my_screen_media_type.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class MyFlexItem extends StatelessWidget {
|
|
final Widget child;
|
|
final String? sizes;
|
|
final String? displays;
|
|
|
|
Map<MyScreenMediaType, double> get flex =>
|
|
MyScreenMedia.getFlexedDataFromString(sizes);
|
|
|
|
Map<MyScreenMediaType, MyDisplayType> get display =>
|
|
MyScreenMedia.getDisplayDataFromString(displays);
|
|
|
|
MyFlexItem({
|
|
super.key,
|
|
required this.child,
|
|
this.sizes,
|
|
this.displays,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return child;
|
|
}
|
|
}
|