follow the code standard Write your app code standard
import 'package:flutter/material.dart';
void main() {
runApp(const TestPage());
}
class TestPage extends StatefulWidget {
const TestPage({super.key});
@override
State<TestPage> createState() => _TesState();
}
class _TesState extends State<TestPage> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.amber,
bottomSheet: Padding(
padding: const EdgeInsets.all(12.0),
child: Container(
width: double.infinity,
child: FloatingActionButton.extended(
onPressed: () {},
elevation: 0,
backgroundColor: Colors.transparent,
label: const Text(
"Next",
style: TextStyle(color: Colors.black),
),
),
),
),
),
);
}
}