title: What is the difference between `fillMaxSize()` and `matchParentSize()` in a component inside a Box in Jetpack Compose?
body: <p>I'm creating a component in Jetpack Compose and realized that when I'm making a Composable inside a <code>Box</code> it's possible that this component assumes 2 maximum fill possibilities: <code>Modifier.fillMaxSize()</code> and <code>Modifier.matchParentSize()</code>. As shown below:</p>
  <pre><code>Box(
      modifier = modifier // This modifier is received by parameter of another composable function
  ) {
      Canvas(modifier = Modifier.matchParentSize()) {
          // Using match parent size
      }
  }
  </code></pre>
  <p>and</p>
  <pre><code>Box(
      modifier = modifier // This modifier is received by parameter of another composable function
  ) {
      Canvas(modifier = Modifier.fillMaxSize()) {
          // Using fill max size
      }
  }
  </code></pre>
  <p>What is the practical difference between these 2 modes? And why can't I set <code>Modifier.matchParentSize()</code> to a <code>Column</code> or a <code>Row</code>?</p>