File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ flutter channel
5959``` bash
6060flutter channel dev/master/stable/beta
6161```
62+ রিয়েল ডিভাইসে টেস্টের জন্য .apk জেনারেট করতে
63+ ``` bash
64+ flutter build apk
65+ ```
6266ফ্লাটার লগস
6367``` bash
6468flutter logs -d < device-id>
@@ -81,6 +85,28 @@ flutter logs -d <device-id>
8185``` bash
8286flutter --help --verbose
8387```
88+ বিভিন্ন ডিভাইসের জন্য রেস্পন্সিভনেস চেক করতে
89+ ``` bash
90+ import ' package:device_preview/device_preview.dart' ;
91+
92+ void main () => runApp(
93+ DevicePreview(
94+ enabled: ! kReleaseMode,
95+ builder: (context) => MyApp (), // Wrap your app
96+ ),
97+ );
98+
99+ class MyApp extends StatelessWidget {
100+ @override
101+ Widget build(BuildContext context) {
102+ return MaterialApp(
103+ locale: DevicePreview.locale(context), // Add the locale here
104+ builder: DevicePreview.appBuilder, // Add the builder here
105+ home: HomePage (),
106+ );
107+ }
108+ }
109+ ```
84110```
85111## Hello world
86112
You can’t perform that action at this time.
0 commit comments