Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

proportion in flutter

// Create a Orange Container with 0.2 device width and 0.5 device height
FractionallySizedBox(
    widthFactor: 0.2,
    heightFactor: 0.5,
    child: Container(
      color: Colors.orange,
    ),
 
PREVIOUS NEXT
Tagged: #proportion #flutter
ADD COMMENT
Topic
Name
3+5 =