v1.0.0flutter_web_frame
Flutter Web/Desktop/PWA में सामग्री के आकार को सीमित करें, जिससे प्रतिक्रिया नहीं करने वाले ऐप को सामग्री पर अधिक ध्यान केंद्रित करने में मदद मिले
73लाइक 3.5 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
Flutter Web/Desktop/PWA में सामग्री के आकार को सीमित करें, जो प्रतिक्रियाशीलता का समर्थन नहीं करता है, अधिक सामग्री पर ध्यान केंद्रित करें। डेमो: https://flutter-web-frame.vercel.app
{"sdk":"flutter"}{"sdk":"flutter"}^1.11.1यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Make the frame max width / size when on large devices such as Web or Desktop.
This is very suitable to be used to limit the size of content, if your application is not yet available a responsive version if it is run on multiple devices / platforms.
Preview
Follow the instructions to install it here
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_web_frame/flutter_web_frame.dart';
void main() {
runApp(MyAp());
}
class MyAp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return FlutterWebFrame(
builder: (context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Flutter Web Frame'),
),
body: Center(
child: Text('Body Text'),
),
),
);
},
maximumSize: Size(475.0, 812.0), // Maximum size
enabled: kIsWeb, // default is enable, when disable content is full size
backgroundColor: Colors.grey, // Background color/white space
);
}
}