Repository: flutter
Issue: Align with widthFactor ignores alignment
Labels: framework,has reproducible steps,P3,team-framework,triaged-framework,found in release: 3.13,found in release: 3.16

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

Using Align widget with widthFactor makes the alignment property get ignored

Example:

```
Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            const Text(
              'You have pushed the button this many times:',
            ),
            Align(
              widthFactor: 1,
              alignment: Alignment.centerRight,
              child: Row(
                mainAxisSize: MainAxisSize.min,
                children: [Text("a"), Text("b")],
              ),
            ),
          ],
        ),
```


What I am actually getting when adding the width factor is that the alignment: Alignment.centerRight is ignored 

This is also not happening, at least not as I understand it

>  If a dimension is unconstrained and the corresponding size factor is null then the widget will match its child's size in that dimension.

If I remove the widthFactor, the widget will actually stretch the width of the column to the available width, ignoring      mainAxisSize: MainAxisSize.min,.

### Expected results

The Row inside the column aligns to the right

### Actual results

The Row inside the column keeps the alignment of its parent

### Code sample

<details><summary>Code sample</summary>

```dart

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({
    Key? key,
    required this.title,
  }) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            const Text(
              'You have pushed the button this many times:',
            ),
            Align(
              widthFactor: 1,
              alignment: Alignment.centerRight,
              child: Row(
                mainAxisSize: MainAxisSize.min,
                children: [Text("a"), Text("b")],
              ),
            ),
          ],
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

_No response_

### Logs

<details><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
Tested on dartpad Based on Flutter 3.13.7 Dart SDK 3.1.3
```

</details>