mirror of
https://github.com/Iconica-Development/flutter_form_wizard.git
synced 2025-05-19 19:03:47 +02:00
Removed fixed width
This commit is contained in:
parent
cd483d77d8
commit
d2a5f36bb2
1 changed files with 35 additions and 54 deletions
|
@ -335,63 +335,44 @@ class _FlutterFormState extends ConsumerState<FlutterForm> {
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await _formController.jumpToPage(pageNumber);
|
await _formController.jumpToPage(pageNumber);
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Column(
|
||||||
width: 390,
|
children: [
|
||||||
padding: const EdgeInsets.only(
|
Row(
|
||||||
top: 18,
|
children: [
|
||||||
bottom: 16,
|
Container(
|
||||||
right: 18,
|
width: 30,
|
||||||
left: 27,
|
height: 30,
|
||||||
),
|
decoration: BoxDecoration(
|
||||||
decoration: BoxDecoration(
|
color: const Color(0xFFD8D8D8),
|
||||||
color: Colors.white,
|
borderRadius: BorderRadius.circular(5),
|
||||||
borderRadius: BorderRadius.circular(10),
|
|
||||||
boxShadow: [
|
|
||||||
BoxShadow(
|
|
||||||
color: const Color(0xFF000000).withOpacity(0.20),
|
|
||||||
blurRadius: 5,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
child: Column(
|
|
||||||
children: [
|
|
||||||
Row(
|
|
||||||
children: [
|
|
||||||
Container(
|
|
||||||
width: 30,
|
|
||||||
height: 30,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: const Color(0xFFD8D8D8),
|
|
||||||
borderRadius: BorderRadius.circular(5),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
const SizedBox(
|
|
||||||
width: 16,
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
inputController.checkPageTitle != null
|
|
||||||
? inputController.checkPageTitle!(inputResult)
|
|
||||||
: inputResult.toString(),
|
|
||||||
style: const TextStyle(
|
|
||||||
fontWeight: FontWeight.w900,
|
|
||||||
fontSize: 20,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const Spacer(),
|
|
||||||
const Icon(Icons.arrow_forward),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
if (inputController.checkPageDescription != null)
|
|
||||||
const SizedBox(
|
|
||||||
height: 9,
|
|
||||||
),
|
),
|
||||||
if (inputController.checkPageDescription != null)
|
const SizedBox(
|
||||||
|
width: 16,
|
||||||
|
),
|
||||||
Text(
|
Text(
|
||||||
inputController.checkPageDescription!(inputResult),
|
inputController.checkPageTitle != null
|
||||||
style: const TextStyle(fontSize: 16),
|
? inputController.checkPageTitle!(inputResult)
|
||||||
)
|
: inputResult.toString(),
|
||||||
],
|
style: const TextStyle(
|
||||||
),
|
fontWeight: FontWeight.w900,
|
||||||
|
fontSize: 20,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const Spacer(),
|
||||||
|
const Icon(Icons.arrow_forward),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
if (inputController.checkPageDescription != null)
|
||||||
|
const SizedBox(
|
||||||
|
height: 9,
|
||||||
|
),
|
||||||
|
if (inputController.checkPageDescription != null)
|
||||||
|
Text(
|
||||||
|
inputController.checkPageDescription!(inputResult),
|
||||||
|
style: const TextStyle(fontSize: 16),
|
||||||
|
)
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue