I want to connect to IPSec VPN Server with PSK and User/Pass, but I also want to make it able to run in lower Android too ( SDK version >= 20 )
I know Google added Ikev2VpnProfile and VPNManager in Android R, but I want the same functionality in lower Android like other apps on Play Store do
I'm using VpnService.Builder to connect to a server its working too this but I dunno how I can put up configs to …
我想知道如何删除默认边距 Flutter Slider
当前输出是这样的,Slider的默认margin清晰可见
这是我的代码::
Positioned(
child: Align(
alignment: Alignment.bottomLeft,
child: SliderTheme(
data: SliderTheme.of(context).copyWith(
trackHeight: 2.0,
thumbColor: Colors.transparent,
thumbShape: RoundSliderThumbShape(enabledThumbRadius: 0.0),
),
child: Container(
width: 380.0,
height: 20.0,
padding: EdgeInsets.all(0.0),
decoration: BoxDecoration(
border: Border.all(color: Colors.blueAccent)
),
child: Slider(
value: 50,
min: 1,
max: 100,
divisions: 100,
activeColor: colors.primaryRed,
inactiveColor: Colors.white,
onChanged: (double newValue) {
print(newValue);
},
)
)
),
),
)
Run Code Online (Sandbox Code Playgroud)