This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:async'; | |
void main() => runApp(new BackButtonOverrideDemoWidget()); | |
class BackButtonOverrideDemoWidget extends StatefulWidget{ | |
@override | |
_BackButtonOverrideDemoWidgetState createState() => new _BackButtonOverrideDemoWidgetState(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SliverPersistentHeader( | |
pinned: true, | |
floating: true, | |
delegate: OurDelegate( | |
toolBarHeight: MediaQuery.of(context).padding.top, | |
openHeight: 250, | |
closedHeight: 40, | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//other stuff to maybe map out | |
//https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/ | |
//https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-members/ | |
//https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-sdos/ | |
//https://www.bluetooth.com/specifications/assigned-numbers/service-discovery/ | |
//https://www.bluetooth.com/specifications/assigned-numbers/health-device-profile/ | |
//https://www.bluetooth.com/specifications/assigned-numbers/units/ | |
//Gatt Service Hierarchy | |
//Device |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//NOTE: This is only a DICTIONARY with MOST character to keycode bindings... it is NOT a working cs file | |
//ITS USEFUL: when you are reading in your control scheme from a file | |
//NOTE: some characters SHOULD map to multiple keycodes (but this is impossible) | |
//since this is a dictionary, only 1 character is bound to 1 keycode | |
//EX: * from the keyboard will be read the same as * from the keypad... because they produce the same character in a text file | |
Dictionary<char, KeyCode> chartoKeycode = new Dictionary<char, KeyCode>() | |
{ | |
//-------------------------LOGICAL mappings------------------------- |
OlderNewer