mirror of
https://github.com/flutter/samples.git
synced 2026-05-06 06:56:34 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -24,13 +24,12 @@ import 'package:flutter/material.dart';
|
||||
class Split extends StatefulWidget {
|
||||
/// Builds a split oriented along [axis].
|
||||
const Split({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.axis,
|
||||
required this.firstChild,
|
||||
required this.secondChild,
|
||||
double? initialFirstFraction,
|
||||
}) : initialFirstFraction = initialFirstFraction ?? 0.5,
|
||||
super(key: key);
|
||||
}) : initialFirstFraction = initialFirstFraction ?? 0.5;
|
||||
|
||||
/// The main axis the children will lay out on.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user