flutter_screenutil_zego 5.6.1 copy "flutter_screenutil_zego: ^5.6.1" to clipboard
flutter_screenutil_zego: ^5.6.1 copied to clipboard

discontinuedreplaced by: flutter_screenutil

A flutter plugin for adapting screen and font size.Guaranteed to look good on different models

example/lib/main.dart

import 'package:device_preview/device_preview.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'src/first_method.dart' as firstMethod;
import 'src/second_method.dart' as secondMethod;

void main() {
  const method = int.fromEnvironment('method', defaultValue: 1);
  runApp(
    DevicePreview(
      enabled: kDebugMode && kIsWeb,
      builder: (context) {
        return method == 1 ? firstMethod.MyApp() : secondMethod.MyApp();
      },
    ),
  );
}
0
likes
80
pub points
26%
popularity

Publisher

unverified uploader

A flutter plugin for adapting screen and font size.Guaranteed to look good on different models

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on flutter_screenutil_zego