fix dart analysis errors
This commit is contained in:
@@ -14,7 +14,7 @@ class AnimatedDialogButton extends StatefulWidget {
|
|||||||
/// Creates an instance of `AnimatedDialogButton`.
|
/// Creates an instance of `AnimatedDialogButton`.
|
||||||
///
|
///
|
||||||
/// The [onPressed] and [child] parameters are required.
|
/// The [onPressed] and [child] parameters are required.
|
||||||
const AnimatedDialogButton({required this.onPressed, required this.child});
|
const AnimatedDialogButton({super.key, required this.onPressed, required this.child});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<AnimatedDialogButton> createState() => _AnimatedDialogButtonState();
|
State<AnimatedDialogButton> createState() => _AnimatedDialogButtonState();
|
||||||
@@ -38,7 +38,7 @@ class _AnimatedDialogButtonState extends State<AnimatedDialogButton> {
|
|||||||
duration: const Duration(milliseconds: 100),
|
duration: const Duration(milliseconds: 100),
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: CustomTheme.standardBoxDecoration,
|
decoration: CustomTheme.standardBoxDecoration,
|
||||||
padding: EdgeInsets.symmetric(horizontal: 26, vertical: 6),
|
padding: const EdgeInsets.symmetric(horizontal: 26, vertical: 6),
|
||||||
child: widget.child,
|
child: widget.child,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user