katana_responsive library
A package that enables the implementation of responsive grid layouts based on Bootstrap.
To use, import package:katana_responsive/katana_responsive.dart.
Classes
- Api
- Provides static methods for making HTTP requests.
- DateDuration
- A class that represents a date period.
- DateFormat
- DateFormat is for formatting and parsing dates in a locale-sensitive manner.
- Immutable
- Used to annotate a class.
- Required
-
Used to annotate a named parameter
pin a method or functionf. - ResponsiveAppBar
- Responsive support AppBar.
- ResponsiveBreakpoints
- Sets breakpoints for the grid.
- ResponsiveCol
- Specify responsive columns.
- ResponsiveContainer
- Container Responsive container that can be used as a replacement for Container.
- ResponsiveListView
- Container Responsive container that can be used as a replacement for Container.
- ResponsiveRow
- Widget for responsive grid layout.
- ResponsiveScaffold
- Responsive Scaffold.
- ResponsiveScaffoldScope
- Scope for retrieving information in ResponsiveScaffold.
- ResponsiveVisibility
- This Widget is displayed only when the condition of visible is met.
Enums
- ResponsiveBreakpoint
- Specifies the size of the container.
- ResponsiveGridTier
- Determines which GridTier it belongs to based on the current screen size.
Extensions
- DateTimeExtensions on DateTime
- Provides extended methods for DateTime.
-
DateTimeIterableExtensions
on Iterable<
DateTime> - Provides extended methods for DateTime arrays.
- DoubleExtensions on double
- Provides extended methods for double.
-
DoubleIterableExtensions
on Iterable<
double> - Provides extended methods for double arrays.
- DurationExtensions on Duration
- Provides extended methods for Duration.
-
DynamicMapExtensions
on Map<
String, dynamic> - Provides extended methods for DynamicMap.
-
InterableOfIterableExtensions
on Iterable<
Iterable< T> > - Provides extended methods for Iterable arrays.
- IntExtensions on int
- Provides extended methods for int.
-
IntIterableExtensions
on Iterable<
int> - Provides extended methods for int arrays.
-
IterableExtensions
on Iterable<
T> -
Provides extended methods for
Tarrays. - JsonDynamicListExtensions on DynamicList
- Provides Json extension methods for DynamicList.
- JsonDynamicMapExtensions on DynamicMap
- Provides Json extension methods for DynamicMap.
-
ListExtensions
on List<
T> -
Provides extended methods for List in
T. -
MapExtensions
on Map<
K, V> - Provides extended methods for Map.
- NullableDoubleExtensions on double?
- Provides an extension method for double that is nullable.
- NullableIntExtensions on int?
- Provides an extension method for int that is nullable.
-
NullableIterableExtensions
on Iterable<
T> ? - Provides an extension method for Iterable that is nullable.
-
NullableListExtensions
on List<
T> ? - Provides an extension method for List that is nullable.
-
NullableMapExtensions
on Map<
K, V> ? - Provides an extension method for Map that is nullable.
- NullableNumExtensions on num?
- Provides an extension method for num that is nullable.
- NullableObjectExtensions on Object?
- Provides an extension method for List that is nullable.
-
NullableSetExtensions
on Set<
T> ? - Provides an extension method for Set that is nullable.
- NullableStringExtensions on String?
- Provides an extension method for String that is nullable.
-
NullableValueIterableExtensions
on Iterable<
T?> - Provides an extension method for Iterable whose value is nullable.
- RandomExtensions on Random
- Provides extended methods for Random.
-
ResponsiveColExtensions
on Iterable<
Widget> - Provides an extension method for Iterable that includes Widget as an element.
-
SetExtensions
on Set<
T> - Provides extended methods for Set.
- StringExtensions on String
- Provides extended methods for String.
Constants
- kSideBarWidth → const double
- Default width of the sidebar.
- nullOfBool → const bool?
-
A
nullobject with a defined type of bool? - nullOfDouble → const double?
-
A
nullobject with a defined type of double? - nullOfDynamicList → const DynamicList?
-
A
nullobject with a defined type of DynamicList? - nullOfDynamicMap → const DynamicMap?
-
A
nullobject with a defined type of DynamicMap? - nullOfInt → const int?
-
A
nullobject with a defined type of int? - nullOfNum → const num?
-
A
nullobject with a defined type of num? - nullOfString → const String?
-
A
nullobject with a defined type of String? - zeroOfNum → const num
-
A
0object with a defined type of num?
Properties
Functions
-
generateCode(
int length, {int seed = 0, String charSet = "23456789abcdefghjkmnpqrstuvwxy"}) → String -
Generates and returns a random string with the number of characters given by
length. -
initializeDateFormatting(
[String? locale, String? ignored]) → Future< void> -
This should be called for at least one
localebefore any date formatting methods are called. It sets up the lookup for date symbols. Both thelocaleandignoredparameter are ignored, as the data for all locales is directly available. -
jsonDecodeAsList<
T extends Object?> (String json, [List< T> defaultValue = const []]) → List<T> -
Converts
jsonto a Json-decoded List -
jsonDecodeAsMap<
T extends Object?> (String json, [Map< String, T> defaultValue = const {}]) → Map<String, T> -
Converts
jsonto a Json-decoded Map<String, dynamic> object. -
jsonEncodable(
Object? o) → bool -
If this object is Json encodable,
trueis returned. -
nullOfList<
T> () → List< T> ? -
A
nullobject with a defined type of List<T>? -
nullOfMap<
K, V> () → Map< K, V> ? -
A
nullobject with a defined type of Map<K, V>? -
nullOfSet<
T> () → Set< T> ? -
A
nullobject with a defined type of Set<T>? -
wait(
Iterable futures) → Future< void> -
Wait until all Futures given in
futuresare completed.
Typedefs
- ApiResponse = Response
- An HTTP response where the entire response body is known in advance.
- ApiResquest = Request
- An HTTP request where the entire request body is known in advance.
- DynamicList = List
- Represents the type of List<dynamic>.
-
DynamicMap
= Map<
String, dynamic> - Represents the type of Map<String, dynamic>.