Skip to content

Instantly share code, notes, and snippets.

View Nikzed's full-sized avatar

Nikzed Nikzed

  • PrivatBank
View GitHub Profile
@monkeyswarm
monkeyswarm / main.dart
Created July 22, 2021 19:10
DraggableScrollableSheet with header leaves a shade
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
final _scaffoldKey = GlobalKey<ScaffoldState>();
void _showSheet() => _scaffoldKey.currentState!.showBottomSheet((context) =>
DraggableScrollableSheet(
@lopspower
lopspower / README.md
Last active June 7, 2025 20:25
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store