We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154242b commit 4b0812bCopy full SHA for 4b0812b
README.md
@@ -38,9 +38,9 @@ import 'package:responsive_builder2/responsive_builder2.dart';
38
39
// Construct and pass in a widget builder per screen type, with sizing info
40
ScreenTypeLayout.builder2(
41
- mobile: (BuildContext context, SizingInformation sizing) => Container(
+ phone: (BuildContext context, SizingInformation sizing) => Container(
42
color: sizing.isPhone ? Colors.blue : Colors.grey,
43
- child: Text('Width: \\${sizing.screenSize.width}'),
+ child: Text('Phone, Width: \\${sizing.screenSize.width}'),
44
),
45
tablet: (BuildContext context, SizingInformation sizing) => Container(
46
color: Colors.yellow,
0 commit comments