sizedbox flutter
SizedBox(
width: 200.0,
height: 200.0,
child: Card(child: Text('Hello World!')),
),
sizedbox flutter
SizedBox(
width: 200.0,
height: 200.0,
child: Card(child: Text('Hello World!')),
),
sizedbox flutter
SizedBox(
height: 100,
width: 100,
child: Center(
child: CircularProgressIndicator(),
),
)
fittedBox in flutter
import 'package:flutter/material.dart';
void main()
{
runApp(MaterialApp(
title: 'Androidmonks',
home: Scaffold(
appBar: AppBar(title: Text("Androidmonks"),),
body: ListView(
children: <Widget>[
FittedBox(child: Row(
children: <Widget>[
Container(
child: Image.network("https://images.pexels.com/photos/414612/pexels-photo-414612.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500"),
),
Container(
child: Text("This is a sample text to understand FittedBox widget"),
)
],
),)
],
),
),
));
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us