feat:增加睡眠记录
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:fitnote/widget/record/common.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:getwidget/getwidget.dart';
|
||||
|
||||
@@ -15,17 +16,15 @@ class DropdownSelect extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final colors = Theme.of(context).colorScheme;
|
||||
final double width = 150;
|
||||
final double height = 36;
|
||||
|
||||
return Container(
|
||||
width: 150,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
border: Border.all(color: colors.primary, width: 1.5),
|
||||
),
|
||||
width: width,
|
||||
decoration: buildBoxDecoration(context),
|
||||
child: DropdownButtonHideUnderline(
|
||||
child: GFDropdown(
|
||||
itemHeight: 32,
|
||||
itemHeight: height,
|
||||
padding: const EdgeInsets.all(0),
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
value: value,
|
||||
|
||||
Reference in New Issue
Block a user